SMTP don't work

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
sanchiva
Posts: 1
Joined: 17 Feb 2022, 20:22

SMTP don't work

Post 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?
Post Reply