How do you send a list on email
How do you send a list on email
(OP)
Hi There,
I am using a foreach loop, how can I use the items to send in one email instead of send an email for each item?
Regards.
I am using a foreach loop, how can I use the items to send in one email instead of send an email for each item?
Regards.
RE: How do you send a list on email
If you don't want to send a mail per item, then the simple solution is not to do it in the loop, but after the loop.
So you have to define a variable for the mailbody, in which you add line for line, paragraph for paragraph, and finally just send this whole text once.
If you have such a problem with simple program flow, you shouldn't do programming. Seriously.
Bye, Olaf.
RE: How do you send a list on email
I got this right and had to do some other tricks as I am building it into an html format email. Thanks for the help.
Thanks a mil.
Ser