This question may be redundant but I’m trying to figure out if it is necessary to install a separate mail server (Sendmail, postfix etc.) on the server just to send out an email using php’s mail().
I’m just trying to send out an email, don’t need to receive.
I’m running a Ubuntu 12.4 box with PHP Version 5.3.10-1ubuntu3.2.
On any platform other than Windows, yes it is necessary. PHP simply executes sendmail, or equivalent.
Windows is a bit different. The PHP folks conveniently allow sending to an SMTP server on Windows.