If you don't know whether you should use SMTP, skip this chapter. Using SMTP is only necessary, if the internal PHP function mail() cannot be used (e.g. on a Windows server).
In order to send e-mails using SMTP you need an e-mail account (Pop3).
Step 1
Open the file /inc/formmail.inc.php in a text editor and look for this part:
$configuration['mail_type'] = 'mail'; // (mail, smtp)
$configuration['mail_from'] = 'postmaster@' . $_SERVER['SERVER_NAME'];
$configuration['smtp']['host'] = 'example.com';
$configuration['smtp']['port'] = 25;
$configuration['smtp']['helo'] = $_SERVER['SERVER_NAME'];
$configuration['smtp']['auth'] = true;
$configuration['smtp']['user'] = '';
$configuration['smtp']['pass'] = '';
Step 2
Replace
$configuration['mail_type'] = 'mail';
with
$configuration['mail_type'] = 'smtp';
Step 3
Replace the host name example.com with the host name of your e-mail account.
$configuration['smtp']['host'] = 'example.com';
Step 4
Enter here the user name and password of your e-mail account.
$configuration['smtp']['user'] = '';
$configuration['smtp']['pass'] = '';
Done