send email with dynamically file attach + user

brostalski 06 Jul, 2016
Hello!

i will send an email with file attach to some users. Each user get his own event list as csv file.

How can i split my php code with the foreach who loads the event data for the users?

Can i load the mail event in my php code?

thanks!
GreyHead 06 Jul, 2016
Hi brostalski,

The built in Email actions don't allow you have 'dynamic' content or attachments - ones that change depending on the To address. I think that the only practical way to do that would be with a Custom Code action that uses PHP to loop through the list and send a set of separate emails. It's not particularly difficult to do,

Bob
This topic is locked and no more replies can be posted.