Jump to content
Server Maintenance This Week. ×

Attachments are adding up in the loop


This topic is 3245 days old. Please don't post here. Open a new topic instead.

Recommended Posts

  • Newbies

I'm using the Bulk Recipient List with EmailSetBodyFile.

Let say I have one attachment to send to all my list of customers. The first email in the list will receive one attachment.

The second will receive 2 attachments of the same file.

The third recipient will receive 3 attachments of the same file and so on…

Something fishy with this function and a loop…

I did screen captures of my scripts…

Thank You for your Help.

Screen Shot 2015-06-18 at 12.49.35.png

Screen Shot 2015-06-18 at 12.49.46.png

Screen Shot 2015-06-18 at 12.50.19.png

Link to comment
Share on other sites

  • Newbies

I found my problem. It was a misconception of all the plugin commands. You have to "build" the message before starting modifying the HTML. 
I just move the "Attachment" section higher in the script… In fact, just before the loop.

Thanks anyway,

 

Robert

Link to comment
Share on other sites

Another question though: why all the numbered attachment fields? 

Attachment1_msg, Attachment2_msg, Attachment3_msg

Generally numbered fields are an indicator of a problem un-normalized data, a problem with the data structure.

Link to comment
Share on other sites

This topic is 3245 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.