Download & Extend

status and email changed same time send mail to the wrong address

Project:Drupal core
Version:5.x-dev
Component:user system
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed (won't fix)

Issue Summary

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.

Comments

#1

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

#2

Status:active» needs review

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

AttachmentSizeStatusTest resultOperations
drupal-user-email.patch1.52 KBIgnored: Check issue status.NoneNone

#3

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.

#4

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.

#5

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

#6

Status:patch (to be ported)» closed (won't fix)

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

nobody click here