Hi,
While working on implementing VERP for Mediawiki[1], Nemo pointed
to me, Tyler' recommendation[2] on shifting from PHP mailer to Swift
Mailer[3]. Quoting Tyler's words :
"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".
My mentors too think about it to be a nice idea, and Nemo
recommended adding it to my GSoC project deliverable here (
https://www.mediawiki.org/wiki/VERP#Deliverables ). But, we need more
community-consensus on the same as this needs to be done first, and VERP as
a plugin to it, if Swift mailer needs to be done. I have opened a BZ ticket
for the same (
https://bugzilla.wikimedia.org/show_bug.cgi?id=63483 ).
Please comment to this thread or in the BZ regarding the shift as it needs
to be done for a start. The discussions we had on this till date is here:
https://www.mediawiki.org/wiki/Talk:VERP#Swift_Mailer_and_VERP__40928.
[1]:
https://www.mediawiki.org/wiki/VERP
[2]:
https://www.mediawiki.org/wiki/Talk:Requests_for_comment/Third-party_compon…
[3]:
http://swiftmailer.org/
Thanks,
Tony Thomas <http://tttwrites.in>
FOSS@Amrita <http://foss.amrita.ac.in>
*"where there is a wifi,there is a way"*