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

zmove - November 20, 2008 - 07:58
Status:active» needs review

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.

AttachmentSize
mimemail.module.patch 536 bytes

#2

zmove - November 27, 2008 - 12:15

Bump, still need opinion about that....

#3

kenorb - June 30, 2009 - 11:58
Status:needs review» reviewed & tested by the community

This patch worked for me, thanks a lot!
Token supporting realnames.

There is module realname as well, but I haven't tested it.

 
 

Drupal is a registered trademark of Dries Buytaert.