Page 1 of 1

Swift Mailer vs PHPMailer in terms of speed

Posted: Wed Feb 27, 2008 5:53 pm
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...

Re: Swift Mailer vs PHPMailer in terms of speed

Posted: Thu Feb 28, 2008 2:44 am
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).

Re: Swift Mailer vs PHPMailer in terms of speed

Posted: Thu Feb 28, 2008 3:03 am
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.

Re: Swift Mailer vs PHPMailer in terms of speed

Posted: Thu Feb 28, 2008 12:16 pm
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!)