SMTP Configuration Assistance for phpList

Subject: SMTP Configuration Assistance with Infomaniak for phpList

Hello,

I am having difficulties configuring SMTP email sending in phpList with my host server.
Here are the parameters I am using in my config.php:

define('PHPMAILERHOST', 'mail.xxxxxxxx.ch');
$phpmailer_smtpuser = 'xxxxxxxxxx';
$phpmailer_smtppassword = 'xxxxxxxxxx';
define('PHPMAILER_SECURE','ssl');
define('PHPMAILERPORT',465);
define('PHPMAILER_SECURE',false);

$phpmailer_smtpoptions = array(
    'ssl' => array(
        'verify_peer' => false,
        'verify_peer_name' => false, 
        'allow_self_signed' => true  
    )
);

Despite this configuration, emails are not being sent correctly.

Could you please confirm Any other specific settings required to ensure SMTP sending works correctly.

Thank you in advance for your help and guidance.

Best regards,
Viga

@viga

You can enable SMTP debug which should help to explain what is wrong. Add this to your config.php file

define('PHPMAILER_SMTP_DEBUG', 2);

Then when composing a campaign send a test email. The debug output is at the top of the page

image

image717×264 22.1 KB