I'm not able to use Office 365 to send e-mail notifications from Mantis.
This is the config_inc.php-file:
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com;
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_smtp_username = 'email@example.com';
$g_smtp_password = '***********';
$g_from_email = 'firstname.lastname@example.org'; $g_from_name = 'Mantis Bug Tracker';
The error message I get is: SMTP server error: 5.7.60 SMTP; Client does not have permissions to send as this sender
when I change the configuration to use a Gmail account everything works fine. I can't get this to work with Office 365. Because we run Mantis in Windows Azure we want to use Office 365 and not Gmail.