Hey

Im getting this error when im sending a mail through drupal.

CommentFileSizeAuthor
#2 mimemail - fix invalid address.patch1.87 KBHGS

Comments

martti’s picture

I am getting it too.. anyone has a solution ..?

HGS’s picture

StatusFileSize
new1.87 KB

We were having a similar problem with the "name" <address> format being sent to our mail server. I think it might be trying to set the MAIL FROM command with both the name and the email address, rather than just the address.

I've written a patch for 6.x-1.0-alpha1 that prepares the 'address' entry in the $message array with just the address and adds the '"name" <address>' format to the 'To' header.

Not sure that this is a bug with Mime Mail itself - the mail function is supposed to accept RFC 2822 formatted addresses (See http://php.net/manual/en/function.mail.php).

darthf1’s picture

Status: Active » Needs review
sgabe’s picture

Priority: Critical » Normal
Status: Needs review » Closed (duplicate)