Notification email stopped working with SMTP

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
entezario
Posts: 4
Joined: 06 Nov 2012, 02:40

Notification email stopped working with SMTP

Post 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';


?>
entezario
Posts: 4
Joined: 06 Nov 2012, 02:40

Re: Notification email stopped working with SMTP

Post by entezario »

We are in the middle of our new website project and really need mantis to send emails.
Please help!!!
Steeray
Posts: 3
Joined: 03 Oct 2012, 14:21

Re: Notification email stopped working with SMTP

Post 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.
entezario
Posts: 4
Joined: 06 Nov 2012, 02:40

Re: Notification email stopped working with SMTP

Post by entezario »

How do I do that?
Steeray
Posts: 3
Joined: 03 Oct 2012, 14:21

Re: Notification email stopped working with SMTP

Post 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.
entezario
Posts: 4
Joined: 06 Nov 2012, 02:40

Re: Notification email stopped working with SMTP

Post 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
Post Reply