Hi there
I use Manuel Lemos' excellent email_message class for some time now, on various websites. All of a sudden (or perhaps, just not really tested until now Wink ) there are problems when sending messages to more than one recipient.
Recipient addresses come from a web form. There are no problems or errors when a single recipient is specified (ie:
[email protected]). However, when a user enters more than one recipient, seperated by a comma as per the class instructions, my mail server sends me an error-report:
---------------------
This is the Postfix program at host **.*****.com.
I'm sorry to have to inform you that the message returned
below could not be delivered to one or more destinations.
For further assistance, please send mail to <postmaster>
If you do so, please include this problem report. You can
delete your own text from the message returned below.
The Postfix program
<"
[email protected], rocket"@hotmail.com>: host mx1.hotmail.com[65.54.252.99]
said: 501 Invalid Address (in reply to RCPT TO command)
-------------------------
Clearly you can see the problem - the quotes come before the second email address' "@" sign, instead of after the complete email address.
Does anyone have any suggestions as to why this might not work? Might something have changed on my server? I test pretty extensively before putting things in production, so I'm sure I was able to do this at one time....
Thanks...