Problem with Email Notification

General discussion of Mantis.

Moderators: Developer, Contributor

elle
Posts: 26
Joined: 01 Jul 2008, 08:04

Re: Problem with Email Notification

Post by elle »

hi guys!

really need help on this problem. I checked the POP settings of the mail we are using.. told me to use smtp.bizmail.yahoo.com as smtp host, port 465.

i changed the smtp_host and smtp_port in mantis but still it won't work. what's happening? I put the correct username, password, port and smtp host but still the same error shows (unable to connect to smtp server: smtp.bizmail.yahoo.com:465). is there something I have to configure other than the mantis codes?

please help me with this problem. thanks!
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: Problem with Email Notification

Post by vzw614 »

You're sure that you have..

$g_phpMailer_method = 2;
$g_limit_email_domain = OFF;

Are you behind a firewall, either hardware or software based? It's possible that the firewall is blocking port 465 because that isn't the usual port that SMTP uses. At this point that's about all I can help you with because I'm not a networking person so I wouldn't know how to help you troubleshoot the firewall as a potential problem. Do you have someone at your business that can help you with the firewall settings?

Good luck!
Curtis
elle
Posts: 26
Joined: 01 Jul 2008, 08:04

Re: Problem with Email Notification

Post by elle »

um.. yeah. phpmailer_method is 2 and limit_email_domain is OFF.

about the firewall, I really don't know if there is. Once I researched and found a way to check whether a certain port in a specific smtp host is ok by using telnet. (e.g. telnet://smtp.example.com:465). I checked 25, 587, and 465, and 465 seems to be working.

I think I should ask about the firewall to our network admin. thanks for your advice!
elle
Posts: 26
Joined: 01 Jul 2008, 08:04

Re: Problem with Email Notification

Post by elle »

hello

just want to ask if the SMTP and smtp_port variables in php.ini affects the smtp host in my code?

for example, the current value of the SMTP is 'localhost'. Do I need to change the SMTP value to 'smtp.host.com'? thanks!
elle
Posts: 26
Joined: 01 Jul 2008, 08:04

Re: Problem with Email Notification

Post by elle »

hello just want to follow up my question

is it necessary to change some things in php.ini? like SMTP or SMTP_port? so that it would be the same as to the one I have specified in config_inc? thanks very much!
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: Problem with Email Notification

Post by vzw614 »

I just looked through my php.ini file and smtp and smtp_port are filled in with the same info from the Mantis config files. So give that a shot and see if it works. You may need to restart your web server after you make changes to the php.ini file to be sure the new values are loaded.
elle
Posts: 26
Joined: 01 Jul 2008, 08:04

Re: Problem with Email Notification

Post by elle »

wow thanks about that. I'll check it if there would be some changes. Thanks!
Cyprian
Posts: 1
Joined: 20 Aug 2008, 02:47

Re: Problem with Email Notification

Post by Cyprian »

read this:
http://help.yahoo.com/l/us/yahoo/mail/c ... op-06.html

By the way, I currently use Talking E-mail to listen to my incoming messages as they arrive. It works pretty fine.
elle
Posts: 26
Joined: 01 Jul 2008, 08:04

Re: Problem with Email Notification

Post by elle »

hi just an update..

just want to ask if the class.phpmailer.php and class.smtp.php is required to be in the include path / directory of the php.ini? don't know how to do that since yahoo hosts our mantis. I don't have any privileges to edit the php.ini file or put any files in php.ini's directory.

I have already contacted Yahoo but there seems to be a problem.

thanks!
elle
Posts: 26
Joined: 01 Jul 2008, 08:04

Re: Problem with Email Notification

Post by elle »

hi update again!

I have tried to use sendmail now, and used our domain email address as the "from" email address.. and it worked!

but the problem is, sometimes it does not send email notification, but sometimes it does.

for example, a reporter added a bugnote on Issue 1, an email will be sent to me. But when reporter adds a bugnote on Issue 2, on the same project, there is no email notification.

anybody who knows anything about this?
autra
Posts: 21
Joined: 25 Aug 2008, 09:40

Re: Problem with Email Notification

Post by autra »

Maybe there is a limit of the number of mail Mantis can send in a day...
vzw614
Posts: 143
Joined: 15 May 2008, 14:59

Re: Problem with Email Notification

Post by vzw614 »

There is no limit to the number of emails that Mantis can send.

Elle,

Do you have logging enabled? Add these to your config_inc.php file (be sure to make log path a valid path for your system). Then you can see who each email is being sent to.

# --- system logging ---
# This controls the logging of information to a separate file for debug or audit
# $g_log_level controls what information is logged
# see constant_inc.php for details on the log channels available
# e.g., $g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_FILTERING | LOG_AJAX;
#
# $g_log_destination specifies the file where the data goes
# right now, only "file:<file path>" is supported
# e.g. (Linux), $g_log_destination = 'file:/tmp/mantis.log';
# e.g. (Windows), $g_log_destination = 'file:c:/temp/mantis.log';
# see http://www.php.net/error_log for details
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:c:/mantis/mantis.log';
elle
Posts: 26
Joined: 01 Jul 2008, 08:04

Re: Problem with Email Notification

Post by elle »

ok i used the log and it helped me with the work. tnx very much!
elle
Posts: 26
Joined: 01 Jul 2008, 08:04

Re: Problem with Email Notification

Post by elle »

hi another question.

i just used the log and checked it. when I look at it, it shows the recipients of the notification.

my problem is, when I add a bugnote on one issue, I receive email, but when I add on another issue in the same project, I don't receive anything. why do this happen?

thanks for your help!
elle
Posts: 26
Joined: 01 Jul 2008, 08:04

Re: Problem with Email Notification

Post by elle »

ok i just figured out that it has to do with the user configurations.

anyways, i want to thank all of you who helped me.

i'll just update you. thanks!
Post Reply