Page 1 of 1

SMTP don't work

Posted: 04 Nov 2022, 09:04
by sanchiva
We are using version 2.25.2 over Centos

The SMTP worked fine untl a couple of days ago. We didn't make any changes in mail account of server.

We use O365 and Microsoft is forcing us to use OAUTH2 and i think can be the problem

$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = '587';
$g_smtp_username = 'mail@domain.com';
$g_smtp_password = 'password';
$g_administrator_email = 'mail@domain.com';
$g_webmaster_email=$g_administrator_email;
$g_return_path_email = 'mail@domain.com';
$g_from_email= 'mail@domain.com';
$g_from_name = 'Support';

Any idea?