Log in

View Full Version : Mail() vs SMTP?


buileminh
01-21-2009, 07:14 AM
I dont know why I can not use mail() function on my hosting and I must use SMTP instead. I am wondering which use less server resource? I know for sending several emails, i would not care much about that but I am talking about sending hundreds, thousands or even more of email in short time (1 hours or can be 1 day). Which have more impact on server load/system performance? What is the best configuration for sending mail in that case?

--------------- Added 1232592873 at 1232592873 ---------------

Any help?

buileminh
02-01-2009, 01:10 PM
Please help....

Dismounted
02-03-2009, 05:40 AM
The mail() function calls Sendmail on the server, which sends the mail via SMTP (and opens a socket for each email). Using SMTP directly should be a little bit more efficient.