I remember reading about swift and why it's faster than mail() but now I can't remember where?
I've got about 15K newsletters to send (and yes I've read the docs about "I've got ##### of emals to send, best way?).
But I'm not that experienced with background processes and cron jobs.
Right now I'm using mail() in a while loop that reads a MySQL recordset.
It prints out the address of each person being sent to and they seem to like that.
So if I'm lazy and I use batchSend in my while loop, will I see an increase in performance without using the cron job approach?
Thanks
faster than php mail() ?
Moderators: Chris Corbyn, General Moderators
- Chris Corbyn
- Breakbeat Nuttzer
- Posts: 13098
- Joined: Wed Mar 24, 2004 7:57 am
- Location: Melbourne, Australia
It's not possible to answer this question with one statement. mail() is not a solution in itself since you'd then need to build compliant headers, perform encoding, truncate line lengths etc.
Speed varies significantly depending upon which connection you use. SMTP is slowest at runtime but fastest from client to recipient. Sendmail and NativeMail (the mail() function) are fastest at runtime. When using mail() the speed varies vastly between windows and UNIX-like systems since they use completely different methods for delivery
Speed varies significantly depending upon which connection you use. SMTP is slowest at runtime but fastest from client to recipient. Sendmail and NativeMail (the mail() function) are fastest at runtime. When using mail() the speed varies vastly between windows and UNIX-like systems since they use completely different methods for delivery