I am using rules to send an email. If I have a single email address (formated with just an email address... nothing fancy) in the "to" it sends just fine.

If I have multiples, usually you have to format it in rules, like (RFC 2822 compliant):
<email@whatever.com>, <another@whatever.com>

So if I format it as:
email@whatever.com, another@whatever.com

It works just fine.

I am calling this a bug, because it does not accept RFC 2822 compliant multiple email format.

Comments

that0n3guy’s picture

Title: Notice: Undefined offset: 1 in SmtpMailSystem->mail() (line 125 of D:\schweb\sites\all\modules\smtp\smtp.mail.inc). » Notice: Undefined offset: 1 in SmtpMailSystem->mail() (line 125 of ..\sites\all\modules\smtp\smtp.mail.inc).

changing the title...

wundo’s picture

Status: Active » Fixed

This should be fixed, please test again with latest dev

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

cosolom’s picture

Issue summary: View changes
Status: Closed (fixed) » Active

Use latest dev (7.x-1.0+11-dev), but have this error in the same conditions.

ivanstegic’s picture

Priority: Normal » Major
Status: Active » Needs review

This issue is fixed by #2596413: From header is not correctly handled which cleans up the name and email address processing to a single method.

damienmckenna’s picture

Status: Needs review » Closed (duplicate)

Closing this as a duplicate of #2596413: From header is not correctly handled which has a patch.