I have a reply all feature in one of my sites. I have it store the cc of people to the message sent. However after it reply all'd to a few times it adds in names duplicate times. example if I was RealT Realt , Realt , DGN , Realt , LockDown , DGN , Real How to fix this from happening. Im drawing a blank at the moment. Thanks, TJ
The best answer is to see why they're duplicating and not add them again in the first place. The second best might be to store each name as an array key, then just foreach through the array to recreate the string or whatever the original data structure is.
Do you have to send the email as CC? Could you perhaps send it as BCC? Or is it supposed to be possible to reply all when the users receive the email?
I see.. thank you they ahve the option to reply to the sender only. or reply all to all that was sent the message. However in the message cc, or copy line is re-inserted for the new message and duplicates the cc line. TJ