SMTP Settings seems to be ignored


i installed the latest version 3.0.12 on my webserver (LAMP with php 5.4) and everything works fine. Instead of using the local mail-server on the machine, I want to use an external SMTP Server for sending mails. So I added the following lines to config.php

$phpmailer_smtpuser = ‘’;
$phpmailer_smtppassword = ‘mypass’;

But the system will still send the mails via the local mail(). What did I wrong?


Did you add this line or amend the existing line?

A specific constant can be defined only once, subsequent defines of that constant are ignored.

Many Thanks, indeed there was a define(“PHPMAILERHOST”,’’); some lines above :frowning:

Now it works perfect!

1 Like