warning: mail() [function.mail]: SMTP server response: 501 Bad address syntax in [...]l\mimemail.module on line 331.
zmove - September 30, 2008 - 11:55
| Project: | Mime Mail |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | reviewed & tested by the community |
Description
Hi,
I get this error when I try to send a newsletter with simplenews and mimemail.
Can somebody help me to fix the problem ?
thanks
zmove

#1
I found the problem,
Mimemail don't understand email address format in their full declaration like that : "John Doe"
That result to the message in my precedent post, and the email is not sent.
The solution is too extract the email address from a full email address format using regular expressions.
Here is a patch for the 6.x dev version.
#2
Bump, still need opinion about that....
#3
This patch worked for me, thanks a lot!
Token supporting realnames.
There is module realname as well, but I haven't tested it.