Details
-
Library Bug
-
Resolution: Fixed
-
Major
-
None
-
Professional Edition
-
None
-
Linux observium-isp.cell 3.10.0-1160.118.1.el7.x86_64 #1 SMP Wed Apr 24 16:01:50 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
centos 7
Description
Hei All ,
I am using 25.2.13882 , I need to send alerts via email with authentication
I can see that by default it uses SSL or TLS , but in my case is not secured
$config['email']['backend'] = 'smtp';
$config['email']['smtp_host'] = 'mail.server'; // Outgoing SMTP server name.
$config['email']['smtp_port'] = 25; // The port to connect.
$config['email']['smtp_timeout'] = 10; // SMTP connection timeout in seconds.
$config['email']['smtp_auth'] = TRUE;
$config['email']['smtp_username'] = 'myuser';
$config['email']['smtp_password'] = 'mypass';
tried :
$config['email']['smtp_secure'] = NULL;
and
$config['email']['smtp_secure'] = '';
both of them ended with authentication + secure and not only authentication
Little update in r14057.
Restored default detect StartTLS.
By default do not verify SMTP remote hostname for certificate (your case).
For force disable StartTLS set config option to 'no' (or boolean FALSE):
$config['email']['smtp_secure'] = 'no';