I have setup an automation script that is successfully looping through a table of suppliers creating a .pdf file and e-mailing the results to the proper recipients. But it failed to attach the file to 18 of the 20 recipients.
I am getting no true error in the log that I can see, but after the line:
‘Setting up SMTP email’ I am missing the line-> ‘Email attachment’ on the 18 that sent an e-mail with out attachment. The two that did attach the .pdf are randomly placed in the script (not first or last and not one after the other).
I am using a table with supplier number and e-mail address and it is reading through all 89 records and only sending to the 20 that had data this week, but I must be missing something.
I can send my script directly to your inbox.
Please advice, Thank you - Christy