Page 1 of 1

Mail received from Mantis from the g_from_email address but not sent to recipients

Posted: 29 Jul 2022, 11:33
by jean.somers
Hi,
I'm looking for help over a mail issue:
Mantis is wrongly sending mails to one of the default mail addresses, from the right g_from_email address with the right g_from_name.
It seems the recipient is not taken into account, it's been written down at the beginning of the email body.

There's no error in /var/log/maillog, the sent_to parameter is just set every time to the default address instead of the right recipient'one.

I'm in this problem since mantis installation.

The content of Mantis default config file:

Code: Select all

###########################
# MantisBT Email Settings #
###########################

$g_webmaster_email              = 'admin1@corp.com';
$g_from_email                   = 'admin1@corp.com';
$g_from_name                    = 'Mantis Bug Tracker';
$g_return_path_email    = 'admin1@corp.com';
$g_enable_email_notification    = ON;
$g_email_notifications_verbose = OFF;
$g_email_receive_own = ON;
$g_phpMailer_method = PHPMAILER_METHOD_SENDMAIL;
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_EMAIL_VERBOSE;

Re: Mail received from Mantis from the g_from_email address but not sent to recipients

Posted: 31 Jul 2022, 08:07
by cas
if you go to http://your_mantis/admin you can check the email functions. Go there first to understand if there is a possible issue with your setup.