Page 1 of 1

Notification email stopped working with SMTP

Posted: 06 Nov 2012, 03:07
by entezario
Hi,
We are using mantis for a long time and it has just stopped sending notification emails.
I looked up this forum but did not help.
here is the config_inc.php content:

<?php $g_hostname='localhost:3360';$g_db_type='mysql';$g_database_name='mantis';$g_db_username='root';$g_db_password='';


$g_email_receive_own = ON;
$g_enable_email_notification = ON;

$g_administrator_email = 'omid@fusepartners.com.au';
$g_webmaster_email = 'omid@fusepartners.com.au';

# the "From: " field in emails
$g_from_email = 'omid@fusepartners.com.au';

# the return address for bounced mail
$g_return_path_email = 'omid@fusepartners.com.au';

# select the method to mail by:
# 0 - mail()
# 1 - sendmail
# 2 - SMTP
$g_phpMailer_method = 2;

# This option allows you to use a remote SMTP host. Must use the phpMailer script
# One or more hosts, separated by a semicolon, can be listed.
# You can also specify a different port for each host by using this
# format: [hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com").
# Hosts will be tried in order.
$g_smtp_host = 'fusesbs.fusepartners.local';

# These options allow you to use SMTP Authentication when you use a remote
# SMTP host with phpMailer. If smtp_username is not '' then the username
# and password will be used when logging in to the SMTP server.
$g_smtp_username = 'myusername';
$g_smtp_password = 'mypassword';


?>

Re: Notification email stopped working with SMTP

Posted: 08 Nov 2012, 05:38
by entezario
We are in the middle of our new website project and really need mantis to send emails.
Please help!!!

Re: Notification email stopped working with SMTP

Posted: 09 Nov 2012, 10:17
by Steeray
Have you tested the Mantis server connection to the SMTP server in console mode ?
You can use the telnet command to connect to smtp server on port 25.

Or you can test with an another mail tools.

Re: Notification email stopped working with SMTP

Posted: 12 Nov 2012, 04:00
by entezario
How do I do that?

Re: Notification email stopped working with SMTP

Posted: 12 Nov 2012, 16:31
by Steeray
Sorry for the time of answer... ;)

You must open a console and use the command telnet (for windows)
ex : telnet xxx.xxx.xxx.xxx 25
where xxx.xxx.xxx.xxx are the ip addresse of the mail server.

Re: Notification email stopped working with SMTP

Posted: 12 Nov 2012, 21:47
by entezario
Yes, It works. Comes up with server name "fusesbs.fusepartners.local" and "Microsoft ESMPT MAIL service ready at ...".
What else should I check?
Thanks