I'm attempting to configure Mantis to send email notifications via a Connector in our M365 tenant, this method works fine for our other similar systems so I'm confident that the issue is Mantis and not the M365 configuration.
I've configured the config_inc.php as per:
Whenever I trigger an email notification from the system, no email is received and nothing shows in the Exchange Trace logs. The email log file contains a few lines but nothing that results in any Google results unfortunately:
Code: Select all
$g_phpMailer_method = PHPMAILER_METHOD_SMTP; $g_smtp_host = '[redacted].mail.protection.outlook.com'; $g_smtp_port = 25; $g_smtp_connection_mode = 'tls'; $g_smtp_username = ''; $g_smtp_password = ''; $g_administrator_email = 'it.services@[redacted]'; $g_webmaster_email = 'it.services@[redacted]'; $g_from_email = 'it.services@[redacted]'; $g_return_path_email = 'it.services@[redacted]'; $g_from_name = 'MantisBT'; #$g_email_receive_own = OFF; #$g_email_send_using_cronjob = OFF; $g_enable_email_notification = ON; $g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT; $g_log_destination = 'file:/home/framewor/public_html/logs/email.log';
Wondering if anyone could share a pointer or two?
Code: Select all
2023-01-10 09:37 GMT MAIL email_api.php:992 email_bugnote_add() Note ~10058 added to issue #3295 2023-01-10 09:37 GMT RECIPIENT email_api.php:285 email_collect_recipients() Issue = #3295, add @U79 (reporter) 2023-01-10 09:37 GMT RECIPIENT email_api.php:295 email_collect_recipients() Issue = #3295, add @U79 (handler) 2023-01-10 09:37 GMT RECIPIENT email_api.php:342 email_collect_recipients() Issue = #3295, add @U79 (note author) 2023-01-10 09:37 GMT RECIPIENT email_api.php:429 email_collect_recipients() Issue = #3295, drop @U79 (own action)
Thanks in advance