E-Mail Notification Problems

General discussion of Mantis.

Moderators: Developer, Contributor

Lost-Ha[n]f-PHP
Posts: 11
Joined: 18 Apr 2005, 07:53
Location: Germany

E-Mail Notification Problems

Post by Lost-Ha[n]f-PHP »

Hey leds,
Since we updated our Mantis to 1.0.0rc1 we got more and more problems with our E-Mail Notification.

On "Email on Reopened" we got no Mail although:
User who reported issue = checked
User who is handling the issue = checked
Users monitoring this issue = checked
Users who added Bugnotes = checked

And the is a number of further problems like that. So where is our mistake? Or is it s general problem in the new version?

Thx a lot.
tellerbop
Posts: 1
Joined: 29 Aug 2005, 11:02

Same problem

Post by tellerbop »

I got the same problem. But for me it seems a little bit random. Sometimes they go through and sometimes they don't.

I've checked the SMTP GW and no e-mails are being sent to it.
thraxisp
Developer
Posts: 509
Joined: 14 Feb 2005, 03:38
Location: Ottawa, Canada
Contact:

Post by thraxisp »

Have the users disabled emails using their preferences?

There is a system logging feature in 1.0.0rc1 that can track how the emails are generated. Setting $g_log_level = LOG_EMAIL_RECIPIENT; and $g_log_destination = 'file:/tmp/mantis_log'; should dump the steps in creating the message recipient list to the file /tmp/mantis_log. The log is a little sparse, but should show who messages were sent to.

If you need help decoding, you can PM the file to me.
--
Glenn Henshaw Logical Outcome Ltd.
Mantis developer and user w: http://www.logicaloutcome.ca
odie3
Posts: 3
Joined: 20 Sep 2005, 21:23

Post by odie3 »

Email not working for me either.... :(

I can not find the logging file anywhere on my Hosting Site. Perhaps I need a different type of path when I lease a shared server
javatopia

Emails on 'new' not being sent

Post by javatopia »

I have the $g_debug_email property set and $g_email_receive_on="ON", but "new" bugs notices are never sent to anyone.

I do get debug emails for changes on bugs, though.
na60
Posts: 1
Joined: 05 Dec 2005, 10:03

Re: Emails on 'new' not being sent

Post by na60 »

javatopia wrote:I have the $g_debug_email property set and $g_email_receive_on="ON", but "new" bugs notices are never sent to anyone.

I do get debug emails for changes on bugs, though.
I do have the same problem!

Any one have an fix/solution for this?

Running 10rc3
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

When debug_email is used, all emails are sent to the debug email address and the emails are not sent to their original recipients. This is useful to allow developers to test without having email notifications sent to the users. In order to get the emails working, you will need to set $g_debug_email to OFF.

Regards,
Victor
Checkout MantisConnect
http://www.futureware.biz/mantisconnect
jsanders
Posts: 17
Joined: 04 Nov 2005, 11:10

Post by jsanders »

By me if i report a bug, i don't get an email. But if afterwards i assign a bug to a developer, only then he get's an email. I also want to get an email.
And futhermore what about dayly email reports with summaries about the open bugs? Is this functionality implemented yet?
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

By me if i report a bug, i don't get an email. But if afterwards i assign a bug to a developer, only then he get's an email. I also want to get an email.
Checkout $g_default_notify_flags and $g_notify_flags configuration options in the manual:
http://manual.mantisbt.org/manual.confi ... .email.php
And futhermore what about dayly email reports with summaries about the open bugs? Is this functionality implemented yet?
At the moment there is no daily report that does that. The main issue is what should be in this daily report! I suggest you submit a feature request in which you request this feature with details about what you expected in such report.

Regards,
Victor
MantisConnect
http://www.futureware.biz/mantisconnect
jsanders
Posts: 17
Joined: 04 Nov 2005, 11:10

Post by jsanders »

Ok i will try to work on it thanx for the tips. Where can i put my request for new functionality?

Then something else. The server on which mantis is installed is in an internal network. The server is also availibal to reach from the internet. This works fine. Most people that work with it work from the internet. There is however one person that works with it from inside the network. The problem is that if that person makes a change and an email is sent, automaticly the link contains an internal email adres. I don't want that. I always want this to be an external adres. Do you know where i can put in some code to change the internal adres to an (hardcoded) external adres?
vboctor
Site Admin
Posts: 1293
Joined: 13 Feb 2005, 22:11
Location: Redmond, Washington
Contact:

Post by vboctor »

Where can i put my request for new functionality?
http://bugs.mantisbt.org/
I always want this to be an external adres. Do you know where i can put in some code to change the internal adres to an (hardcoded) external address?
Explictly set $g_path to the external URL (including a terminating /) in the config_inc.php. For example, http://www.example.com/mantis/.

Regards,
Victor
Mantis Blog
http://www.futureware.biz/
jsanders
Posts: 17
Joined: 04 Nov 2005, 11:10

Post by jsanders »

Thanx for the advice. I posted a feature request in the mantis bugtracker.
I also aded the line:

g_path= "http://www.81.71.130.207/mantis/";
Look what happened to the look and feel:

http://www.81.71.130.207/mantis/
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

Shouldn't that be http://81.71.130.207/mantis/ without the 'www.'??

I mean, the server name http://www.81.71.130.207 doesn't even resolve in Firefox...
jsanders
Posts: 17
Joined: 04 Nov 2005, 11:10

Post by jsanders »

Where can i add in some code that if I login from an internal ip adres the g_path should be an internal adres and if i login from an external ip adres, the g_path wil be external?
Narcissus
Developer
Posts: 338
Joined: 17 Feb 2005, 09:45

Post by Narcissus »

Isn't that the situation that you were experiencing before hardcoding the $g_path in the first place?

In theory, it should work that way if you don't hard code that value...
Post Reply