View Issue Details

IDProjectCategoryView StatusLast Update
0023169mantisbtemailpublic2017-09-03 05:31
Reporterdezol Assigned Toatrol  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version1.3.0 
Summary0023169: email sent do not work with office 365
Description

Hi

First of all, My english language is poor! sorry

I upgraded the mantis from 1.2 to 1.3, but the mail sender is not working. I use SMTP server the office 365 and It worked so far.

Please help me.

error message ($g_log_destination = 'file:/tmp/mantisbt.log';):
CEST MAIL email_api.php:1385 email_send() ERROR: Message could not be sent - SMTP Error: data not accepted.SMTP server error: DATA END command failed Detail: 5.7.60 SMTP; Client does not have permissions to send as this sender [XXXXXXXX.prod.outlook.com]

config_inc.php

$g_enable_email_notification = ON;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_from_email= 'mantis@company.com';
$g_smtp_host = 'smtp.office365.com';
$g_smtp_port = 587;
$g_smtp_username = 'mantis@company.com';
$g_smtp_password = 'password';
$g_smtp_connection_mode = 'TLS';

I do not have any more ideas :(

TagsNo tags attached.

Activities

atrol

atrol

2017-07-30 06:26

developer   ~0057359

dezol,

This is not a bug or feature request for MantisBT (you are asking for help on how to deal with permissions issues of your SMTP client). I am therefore resolving this issue as "no change required".

Please use the forums to get support on customizing and using MantisBT (refer to http://www.mantisbt.org/support.php for links and further details).

A good place to start is http://www.mantisbt.org/forums/viewtopic.php?f=3&t=15398

As a side note: You entered 1.3.0 as the version you use.
I recommend to upgrade to at least 1.3.11 as there are major security issues in 1.3.0, furthermore there are a lot of bugs fixed since 1.3.0, some of them related to email.