User Tools

Site Tools


system:config:phpmailer_smtpoptions

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

system:config:phpmailer_smtpoptions [2016/04/16 22:04]
phplist created
system:config:phpmailer_smtpoptions [2016/12/14 08:01] (current)
duncanc
Line 1: Line 1:
 +
 +---- dataentry configoptions ----
 +type             : variable
 +name             : phpmailer_smtpoptions
 +purpose          : pass smtpoptions to phpMailer
 +allowed          : any valid smtpoptions for phpMailer 
 +default          : 
 +status_s         : 
 +category         : sending
 +----
 +
 +See also [[https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting|https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting]]
 +
 +As an example, add this to your config.php file
 +<code>
 +$phpmailer_smtpoptions = array(
 +    'ssl' => array(
 +        'verify_peer' => false,
 +        'verify_peer_name' => false,
 +        'allow_self_signed' => true
 +    )
 +);        
 +
 +</code>
 +
 +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