Swift Mailer vs PHPMailer in terms of speed

Swift Mailer is a fantastic library for sending email with php. Discuss this library or ask any questions about it here.

Moderators: Chris Corbyn, General Moderators

Post Reply
rsgopi
Forum Newbie
Posts: 11
Joined: Wed Feb 27, 2008 5:48 pm

Swift Mailer vs PHPMailer in terms of speed

Post by rsgopi »

I have a Tell-a-friend application and use a commerical MTA to send emails. I currently use PHPMailer to feed the MTA (via SMTP in local network) ...My question is does SwiftMailer provide a speed advantage over PHPMailer for SMTP feeding?.

Thanks for your time...
User avatar
Chris Corbyn
Breakbeat Nuttzer
Posts: 13098
Joined: Wed Mar 24, 2004 7:57 am
Location: Melbourne, Australia

Re: Swift Mailer vs PHPMailer in terms of speed

Post by Chris Corbyn »

It does; by 3 fold! I don't have the bench marks that show that anymore but they were publicly online so I'm sure someone else who's done the benchmarking can chip-in to this thread and back me up :)

It also uses less memory for more advanced operations (e.g. adding attachments).
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Re: Swift Mailer vs PHPMailer in terms of speed

Post by Kieran Huggins »

While I haven't used phpmailer, I can attest to the fact that Swift is lean and faaassssst.

I guess it would be easy enough to set up a test for each, but I won't bother.
rsgopi
Forum Newbie
Posts: 11
Joined: Wed Feb 27, 2008 5:48 pm

Re: Swift Mailer vs PHPMailer in terms of speed

Post by rsgopi »

Thanks for the reply guys!. I thought with network SMTP feeding there would not be much speed difference!. BTB, is there a speed difference between the PHP 4 and PHP 5 versions (i understand the future swiftmalier versions is PHP 5 only and has more OOP feautures!)
Post Reply