If you use * nix, most likely mail () and sendmail () are identical. mail () will still use sendmail, but it passes any arguments you specify in php.ini.
The big difference between SMTP and sendmail. If you are mass emailing, you want to use SMTP because sendmail opens a new connection for each email, which adds a lot of overhead.
flurry
source share