Microsoft 365
Moderators: Developer, Contributor
Microsoft 365
I am trying to get Mantis to work with my Microsoft 365 email. So far no luck from what I have found. Does anyone have a current config that actually works? Changes to 365 that is needed?
Re: Microsoft 365
Do you mean the email reporting plugin or just the mail functionality from Mantis itself?
Re: Microsoft 365
Right now, just the mail functionality itself
I have tried all this
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = '587';
$g_smtp_username = 'scott@domain';
$g_smtp_password = "******";
$g_return_path_email = 'scott@domain.com';
$g_administrator_email='scott@domain.com';
$g_webmaster_email=$g_administrator_email;
$g_from_email='scott@domain.com';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = '25';
$g_smtp_username = 'scott@domain';
$g_smtp_password = "******";
$g_return_path_email = 'scott@domain.com';
$g_administrator_email='scott@domain.com';
$g_webmaster_email=$g_administrator_email;
$g_from_email='scott@domain.com';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
#$g_smtp_connection_mode = 'tls';
$g_smtp_port = '25';
$g_smtp_username = 'scott@domain';
$g_smtp_password = "******";
$g_return_path_email = 'scott@domain.com';
$g_administrator_email='scott@domain.com';
$g_webmaster_email=$g_administrator_email;
$g_from_email='scott@domain.com';
and I have this in my dns records
v=spf1 ip4:xx.xx.xx.xx include:spf.protection.outlook.com -all
And it still tells me to check my mail settings when I try to send a test mail. And the page takes forever to respond back.
I have tried all this
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = '587';
$g_smtp_username = 'scott@domain';
$g_smtp_password = "******";
$g_return_path_email = 'scott@domain.com';
$g_administrator_email='scott@domain.com';
$g_webmaster_email=$g_administrator_email;
$g_from_email='scott@domain.com';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = '25';
$g_smtp_username = 'scott@domain';
$g_smtp_password = "******";
$g_return_path_email = 'scott@domain.com';
$g_administrator_email='scott@domain.com';
$g_webmaster_email=$g_administrator_email;
$g_from_email='scott@domain.com';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.office365.com';
#$g_smtp_connection_mode = 'tls';
$g_smtp_port = '25';
$g_smtp_username = 'scott@domain';
$g_smtp_password = "******";
$g_return_path_email = 'scott@domain.com';
$g_administrator_email='scott@domain.com';
$g_webmaster_email=$g_administrator_email;
$g_from_email='scott@domain.com';
and I have this in my dns records
v=spf1 ip4:xx.xx.xx.xx include:spf.protection.outlook.com -all
And it still tells me to check my mail settings when I try to send a test mail. And the page takes forever to respond back.
Re: Microsoft 365
Check this post: viewtopic.php?t=26794
Re: Microsoft 365
I have been through that post, one of the setups I did was just like the one the guy said worked. I went through Microsoft's page on how to set it up also. It fails right away.
Re: Microsoft 365
Did you activate mail logging and if so what is shown in the log file?
If not, activate and check.
If not, activate and check.