Piwigo SMTP without TLS
I spend a long time trying to figure out why Piwigo enforced the use of TLS even when not configured to in the config file. The issue is an "auto" setting in the file
/gallery/include/phpmailer/class.phpmailer.php. Change it to
false here, then leave
null in the main config.
255 * Whether to enable TLS encryption automatically if a server supports it, 256 * even if `SMTPSecure` is not set to 'tls'. 257 * Be aware that in PHP >= 5.6 this requires that the server's certificates are valid. 258 * @var boolean 259 */ 260 public $SMTPAutoTLS = false;