No Exchange E-mail Notifications from Web Server

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
jefbro98
Posts: 3
Joined: 24 May 2012, 22:10

No Exchange E-mail Notifications from Web Server

Post by jefbro98 »

I have the following config_inc.php file set up on both a Windows 2003 server and a Windows 7 desktop (as a test machine) which are on the same domain. The notifications work perfectly on the Windows 7 desktop computer but they do not work on the 2003 server. Both e-mail notification set-ups work fine when I use gmail. Can anyone point me in the right direction as to why this set-up works on the desktop and not the server? Both config files are exactly the same (I copied and pasted from the working one to the non working one). I am trying to use SMTP with my company's Exchange server setup. As I said, the e-mail notifications go through fine using both the Exchange server and Gmail with the desktop, however with the 2003 server, only the notifications using Gmail go through.

I am using:
Xampp
Mantis 1.2.10

and the following setup for the Exchange connection.

<?php
$g_hostname = 'localhost';
$g_db_type = 'mysql';
$g_database_name = 'mydatabasename';
$g_db_username = 'myusername';
$g_db_password = 'mypassword';
$g_enable_email_notification = ON;
$g_allow_signup = OFF;
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'myserver.mydomain.com';
$g_smtp_port = 25;
$g_administrator_email = 'myemail@address.com';
$g_from_email = 'noreply@address.com';
?>
Knowledge makes the world go 'round!
Lapinkiller
Posts: 408
Joined: 28 Jan 2011, 18:47
Location: France
Contact:

Re: No Exchange E-mail Notifications from Web Server

Post by Lapinkiller »

Lapinkiller,
French PHP developer
New look for your mantis : http://www.mantisbt.org/forums/viewtopi ... =4&t=20055
jefbro98
Posts: 3
Joined: 24 May 2012, 22:10

Re: No Exchange E-mail Notifications from Web Server

Post by jefbro98 »

Never mind. I think I've solved this one. Right after the install I deleted the admin directory from the Mantis folder on the server per the instructions. I noticed that I still had this folder there on my test machine. I temporarily copied the admin folder back into the Mantis directory on the server. Lo and behold, when I did that all of the notifications that were previously sent came through (and it was a ton of them). I then deleted the admin directory back out of the Mantis directory and tested the notifications again. It still works. So I'm thnking that there was some email config file in the admin folder that it needed in order to initially get started. In any event, it's working now and I'm happy. Thanks all.
Knowledge makes the world go 'round!
Post Reply