SMTP Configuration with O365

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
rrdrummond
Posts: 1
Joined: 10 Sep 2018, 20:50

SMTP Configuration with O365

Post by rrdrummond »

Hi All.

We have Mantis configured with Gmail account to send notification (STMP).

But this account is particular and We need to change this to 365 account (corporate).

Below out configuration.

$g_enable_email_notification = ON; //enables the email messages
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = '587';
$g_smtp_username = 'username@domain.com';
$g_smtp_password = 'xxxxxx';
$g_administrator_email = 'username@domain.com.br';
$g_from_email = 'username@domain.com.br';
$g_from_name = 'Mantis'
$g_return_path_email = 'username@petros.com.br';

Thanks for all.
JosephY
Posts: 1
Joined: 05 Feb 2019, 07:21

Re: SMTP Configuration with O365

Post by JosephY »

I have the issue mentioned in the older thread here. Perhaps, someone could share the solution. I get this error: Client does not have permissions to send as this sender SMTP code: 550
Post Reply