recipients=() - No mails from mantis

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
mosg
Posts: 1
Joined: 29 Oct 2007, 18:07
Location: Moscow
Contact:

recipients=() - No mails from mantis

Post by mosg »

Hello everyone!

I`m :
- System: FreeBSD 6.0, MySQL 5.0.41, PHP 4.4.7
- $g_mantis_version = '1.0.6';
- Using standard config_inc.php file (only changed mysql variables)
- $g_phpMailer_method = '0'; (with admin/check.php script mails walk fine)

Problem: mantis can`t send mails (when, for example: new, assigned, resolved, bugnote, reopened, closed, deleted, feedback) to users. Even when user create new ticket and after that post some text there, we get no mails. If i add to config_inc.php some log strings like:

Code: Select all

$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:/tmp/email.log';
I get in /tmp/email.log this:
29-10-2007 20:38 MSK mail_recipient bug= 1079, add reporter=2
29-10-2007 20:38 MSK mail_recipient bug= 1079, add handler=2
29-10-2007 20:38 MSK mail_recipient bug= 1079, add monitor=2
29-10-2007 20:38 MSK mail_recipient bug= 1079, add note=2
29-10-2007 20:38 MSK mail_recipient bug= 1079, drop 2 (own)
29-10-2007 20:38 MSK mail bug=1079, type=assigned, msg=email_notification_title_for_status_bug_assigned, recipients=()
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------

What i did:

INFORMATION: for about 3-4 month ago, I carry mantis content with mysql dump from another server, but mails stopped retriving for about 2 month ago...

1) Checked all this rules:
From this list, those recipients who meet the following criteria are eliminated:
the originator of the change, if $g_email_receive_own is OFF
the recipient either no longer exists, or is disabled
the recipient has turned their email_on_<new status> preference OFF
the recipient has no email address extered
2) Tried to manipulate with $g_default_notify_flags and $g_notify_flags flags... No luck =(

3) Also $g_email_receive_own = 'ON'; used.

4) Tried to find an answer here(mantisbt.org/forums/) and with google... Still can`t find a solution.



If anyone could help with this situation - BIG thx for that!
/* May all your PUSHs be POPed */
Nycto
Posts: 9
Joined: 17 Oct 2007, 16:19
Location: Bellevue, WA

Post by Nycto »

There shouldn't be quotes around the values for two of those settings you listed. They should be:

Code: Select all

$g_phpMailer_method = 0;
$g_email_receive_own = ON;
Also, try playing with this setting to help with debugging:

Code: Select all

	# Used for debugging e-mail feature, when set to OFF the emails work as normal.
	# when set to e-mail address, all e-mails are sent to this address with the
	# original To, Cc, Bcc included in the message body.
	$g_debug_email			= OFF;
- Nycto
Post Reply