Add the list of recipients into the body of the email
Hi
I have a page which sends to multiple recipients from checkboxes - works very well and has done for years!
However, a common complaint from users is that they don't know who else has been sent the email; they don't want to see the list of email addresses (which would be bad practice anyway), but would like to see a list of names below the content of the message, e.g.
This message was also sent to Fred Bloggs, Joe Smith, Ann Dover
----------------------
The checkbox has the following code:
<input type="checkbox" name="toEmail[]" value="<?php echo $row_rsMembersEmail['MemEmail']; ?>" id="toEmail_<?php echo $row_rsMembersEmail['RotID']; ?>" />
The member's name is displayed next to the select box, but isn't used other than that.
Is this possible?
Many thanks
Cheers
Chris