You are sending the email inside the foreach loop so naturally each email sent will only contain one record. Build up your message text inside the foreach loop, appending each time and then do your mail sending once the foreach loop has ended.
In reply to Re: Sending an email of compiled data
by hippo
in thread Sending an email of compiled data
by Superbroom2.0
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |