Last modified: 2010-05-15 15:41:06 UTC
Software Used: MediaWiki 1.7.1 PHP 5 Windows Server 2003 With unchanged coding the all mailing functions fail with an error from the SMTP server saying the mail addresses cannot be parsed. The SMTP protocol shows that PHP is sending the following lines: To:<name <user@domain.com>> From:<name <user@domain.com>> UserMailer.php describes: <quote> From the PHP manual: Note: The to parameter cannot be an address in the form of "Something <someone@example.com>". The mail command will not parse this properly while talking with the MTA. </quote> I recommend the following: For the "To" and the "From" field use only the email-address without name. In the Body of the message add a Header "From" with content "name <user@domain>. For documentation refer to RFC 821 (ftp://ftp.rfc-editor.org/in-notes/rfc821.txt), example 7. The relant coding is in UserMailer.php. As a short cut bug fix in my installation I changed class MailAdress, function toString to return the email-adress only.
*** This bug has been marked as a duplicate of 4979 ***