How can I configure Form2Mail with a different email server and with SMTP authentication?
If you want to use an external email server, you can do the following: STEP 1- Go to Line #568 and configure the Form2Mail.php file to send primary via SMTP: var $Mailer = “mail”; …change by: var $Mailer = “smtp”; Note: This first step is required only in a few servers, in most cases Form2Mail detects automatically that the available method is SMTP. STEP 2- Go to Line #38 and put there your SMTP server address if is different than “localhost” define(‘SMTP_SERVER’, ‘localhost’); Note: STEPS 3 and 4 are required only if your server required authentication. If authentication is not required, please ignore these steps: STEP 3- Go to Line #42 to activate authentication: define(‘USE_SMTP_AUTHENTICATION’, false); …change by: define(‘USE_SMTP_AUTHENTICATION’, true); STEP 4- On the lines #43 and #44 put your username and password.