MailTransfer
If you would rather use SMTP than sendmail, you should set the MailTransfer config setting to 'smtp' (as below). Possible values for MailTransfer are:
smtp- routes messages through an SMTP server (recommended for Windows)sendmail- routes messages through the Unix program called Sendmail (recommended for Unix based systems)debug(which just writes out mail messages to STDERR, for debugging purposes).
Default value: sendmail
Examples
SMTP
MailTransfer smtp SMTPServer smtp.mycompany.com:25
Sendmail
MailTransfer sendmail SendMailPath /usr/sbin/sendmail
Note: most MTAs (mail transfer agents) like sendmail, postfix and qmail provide a script that is installed automatically as "/usr/sbin/sendmail". This makes it very simple for those systems to route mail on the without the need to reconfigure anything. Chances are this is true on your system even if you don't use Sendmail. So first try using the default "SendMailPath" and see if mail delivery works. If not, you will need to consult your system administrator to determine the configuration settings you will need.

Leave a note