Can't receive Email with outlook

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
matthewxdw
Posts: 2
Joined: 29 Aug 2015, 00:56

Can't receive Email with outlook

Post by matthewxdw »

Hello,

I can't receive email with outlook when I submit a bug / update a bug / assign a bug... in Mantis, I check my "config_defaults_inc.php" for email setting and it looks like no problem, but I can't receive any email when I submit a bug / update a bug / assign a bug..., please refer the following configuration for email.

I use the testing email page which in "mantisbt/admin" folder like this: http://localhost/mantisbt/admin/test_email.php, this page can test whether mantis can send/receive email, when I click the "Send Mail" button, it show: Testing Mail - mail() send successful, and I go to my outlook, I can receive a test email which title is "Testing PHP mail() function".

But I always can't receive any email when I submit a bug / update a bug / assign a bug... in Mantis, although I assign all operation permission for every role in email notification setting page and I didn't change any source code for mantis.

Please help for the problem.

$g_administrator_email = 'username@domain.com'; (use my company email)
$g_from_email = 'username@domain.com'; (use my company email)
$g_from_name = 'Mantis Bug Tracker';
$g_return_path_email = 'username@domain.com'; (use my company email)
$g_enable_email_notification = ON;
$g_email_receive_own = ON;
$g_validate_email = ON;
$g_check_mx_record = OFF;
$g_allow_blank_email = ON;
$g_limit_email_domain = OFF;
$g_show_user_email_threshold = NOBODY;
$g_show_user_realname_threshold = NOBODY;
$g_mail_priority = 3;
$g_phpMailer_method = 2;
$g_smtp_host = 'email.company.com'; (use my company smtp server name)
$g_smtp_username = 'domain\ID'; (my company use domain\ID to check authentication)
$g_smtp_password = 'my password';
$g_smtp_connection_mode = '';
$g_smtp_port = 25;
$g_email_send_using_cronjob = ON;
$g_email_set_category = ON;
$g_email_separator1 = str_pad('', 70, '=');
$g_email_separator2 = str_pad('', 70, '-');
$g_email_padding_length = 28;

$g_default_notify_flags = array('reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'explicit' => ON,
'threshold_min' => NOBODY,
'threshold_max' => NOBODY);

$g_notify_flags['new'] = array('bugnotes' => ON,
'monitor' => ON);

$g_notify_flags['monitor'] = array( 'reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'explicit' => ON,
'threshold_min' => NOBODY,
'threshold_max' => NOBODY);
matthewxdw
Posts: 2
Joined: 29 Aug 2015, 00:56

Re: Can't receive Email with outlook

Post by matthewxdw »

It seems the version 1.2.19 can't send email, but I change to 1.2.17, it works fine.
Post Reply