User Tools

Site Tools

Translations of this page:

system:config:phpmailer_smtpoptions
type:
variable
name:
phpmailer_smtpoptions
purpose:
pass smtpoptions to phpMailer
allowed:
any valid smtpoptions for phpMailer
category:
sending

See also https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting

As an example, add this to your config.php file

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

which will avoid certificate checking on SSL connections. Quite useful for development systems with self-signed certificates.

system/config/phpmailer_smtpoptions.txt · Last modified: 2016/12/14 08:01 by duncanc

Resources
Contact Us

e: info@phplist.com

Boring Bit

phpList is a registered limited company

UK Company No. 07582966

VAT Registration 122 0788 37

© phpList 2016