Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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.
Comment | File | Size | Author |
---|---|---|---|
#2 | drupal-user-email.patch | 1.52 KB | kkaefer |
Comments
Comment #1
chx CreditAttribution: chx commentedit's mailing placeholder-for-uid-1 which is obvioulsy not a valid email address. Mighty strange. I will investigate.
Comment #2
kkaefer CreditAttribution: kkaefer commentedEmails were sent using the old user object instead of the new data in user_save().
Comment #3
chx CreditAttribution: chx commentedThe bug just showed up but iwas there always and it even needs backport. The patch is the correct one.
Comment #4
Gábor HojtsyGreat, committed. Thanks! Setting it for backporting them.
Comment #5
drummConfirmed that this patch fails to apply to 5.x.
Comment #6
marcingy CreditAttribution: marcingy commentedMarking as won't fix as d5 is end of life.