"Hashar" posted a comment on MediaWiki.r111832.
URL: http://www.mediawiki.org/wiki/Special:Code/MediaWiki/111832#c31249

Commit summary for MediaWiki.r111832:

(bug 34421) duplicate Subject / wrong To: headers in mail

This fixup our mail sending system which duplicated the Subject and To: header.
In some conditions it used only the email address for the From: field skipping
the username ($dest in old code only contains the email address).

Mails sent to a single recipients will look alike with mail() or PEAR Mail.
For multiple recipients:
 - php mail() will show the recipient email and 'undisclosed-recipients:'
 - PEAR Mail will only show 'undisclosed-recipients:'


Reverts r111820
Follow  r111819
Fixup    r93397

Hashar's comment:

> With the removal of $dest, MailAddress::_toString() is now relied on, which 
> uses "name <addr>" type destinations sometimes instead of just "<addr>".

That part is intended, previously PEAR (or maybe it was mail()) did not use the 
user name as a from.


_______________________________________________
MediaWiki-CodeReview mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-codereview

Reply via email to