mike23
mike23

Reputation: 1312

Is sending mails through SMTP better than php mail() in terms of server load?

I am sending >1000 mails per day for a mailing list. Right now they are all sent with php mail(). Would it put less load on the server if they were sent through a script with SMTP ?

Upvotes: 2

Views: 586

Answers (1)

Piskvor left the building
Piskvor left the building

Reputation: 92752

Not really, no: the mail needs to go through SMTP anyway, so you're just changing how it gets there (on some hosts, mail() uses SMTP internally, anyway). If the server is highly loaded while sending, could it be something else in your script that's generating the load?

Upvotes: 2

Related Questions