See http://drupal.org/node/174169 for a similar issue. When creating user 1 you get the following error:

* warning: mail() [function.mail]: SMTP server response: 501 <placeholder-for-uid-1> Invalid mail address, must have a domain part in W:\www\drupal-cvs\includes\mail.inc on line 191.
* Unable to send e-mail. Please contact the site admin, if the problem persists.
CommentFileSizeAuthor
#2 drupal-user-email.patch1.52 KBkkaefer

Comments

chx’s picture

it's mailing placeholder-for-uid-1 which is obvioulsy not a valid email address. Mighty strange. I will investigate.

kkaefer’s picture

Status: Active » Needs review
StatusFileSize
new1.52 KB

Emails were sent using the old user object instead of the new data in user_save().

chx’s picture

Title: Email to user 1 is broken » status and email changed same time send mail to the wrong address
Status: Needs review » Reviewed & tested by the community

The bug just showed up but iwas there always and it even needs backport. The patch is the correct one.

gábor hojtsy’s picture

Version: 6.x-dev » 5.x-dev
Status: Reviewed & tested by the community » Patch (to be ported)

Great, committed. Thanks! Setting it for backporting them.

drumm’s picture

Confirmed that this patch fails to apply to 5.x.

marcingy’s picture

Status: Patch (to be ported) » Closed (won't fix)

Marking as won't fix as d5 is end of life.