on-internet
← Community

Sending Multiple emails with Different Attachments

Stack Overflow ·

I am trying to send emails to a list of recipients in an Excel spreadsheet, with a different attachment for each of the emails. I created a macro that generates the different emails, but when I added attachments, only the first email of the list is created with the correct attachment. When the loop comes back to the second email it gives me an error message saying that the attachment was not found (I assume this is for the second message). I checked and the file names and paths are correct according to the rules I set in the code. It doesn't create a draft of the second email, but simply tells

Comments

Sign in or sign up to comment and upvote.

No comments yet.