Last modified: 2014-08-01 19:19:03 UTC
>>Tyler Romeo: https://www.mediawiki.org/wiki/Talk:Requests_for_comment/Third-party_components Swift_Mailer seems to be lot robust than PHP MailUser. "PHPMailer has everything packed into a few classes, whereas Swift_Mailer actually has a separation of concerns, with classes for attachments, transport types, etc. A result of this is that PHPMailer has two different functions for embedding multimedia: addEmbeddedImage() for files and addStringEmbeddedImage() for strings. Another example is that PHPMailer supports only two bodies for multipart messages, whereas Swift_Mailer will add in as many bodies as you tell it to since a body is wrapped in its own object. In addition, PHPMailer only really supports SMTP, whereas Swift_Mailer has an extensible transport architecture, and multiple transport providers. (And there's also plugins, and monolog integration, etc.)
Before implementing VERP functionality for MediaWiki, we need the public conscience on the migration, as VERP needs to be implemented as a plugin to SwiftMailer, if it needs to be. Discussions till date: https://www.mediawiki.org/wiki/Talk:VERP
Owen, I'm adding you to cc because <https://www.mediawiki.org/wiki/Requests_for_comment/UserMailer_refactor> is currently considered superseded by this bug. I hope this will be of use for Wikia too; if you have thoughts please share on this bug or on mediawiki.org.
Adding in the wikitech-i mails regarding this proposal. Looks like we need more feedback. http://lists.wikimedia.org/pipermail/wikitech-l/2014-April/076250.html
Patch submitted in Gerrit https://gerrit.wikimedia.org/r/#/c/135290/
Change 135290 had a related patch set uploaded by 01tonythomas: Shifted from PEAR/PHP mailer to Swift Mailer https://gerrit.wikimedia.org/r/135290
Change 135290 abandoned by 01tonythomas: Shifted from PEAR/PHP mailer to Swift Mailer Reason: Abandoning in favour of I7de5a4228a34b2d56d5ed8f0d9e48a6066012e41. SwiftMailer has been moved to a new extension. https://gerrit.wikimedia.org/r/135290
Consensus was that SwiftMailer should not go into core. WONTFIXing accordingly. Tony has written [[mw:Extension:SwiftMailer]] as part of his GSoC project though.