I've just setup Mantis on my Apache server, im trying to get the phpmailer function working with my exchange server but im not getting any good results, i've got the following lines in my config_inc.php file;
$g_administrator_email = 'myemail@myserver.co.uk;
$g_webmaster_email = 'admin@myserver.co..uk'; # the "From: " field in emails
$g_from_email = 'noreply@myserver.co.uk'; # the return address for bounced mail
$g_return_path_email = 'myemail@myserver.co.uk';
$g_enable_email_notification = On;
$g_validate_email = On;
$g_enable_email_notification = On;
$g_allow_signup = Off;
$g_send_reset_password = Off;
$g_phpMailer_method = 2;
Is this right or have I got something wrong on the config? I'm not getting any error messages at all, im just getting a "SENDING FAILED" message, bit hard to troubleshoot !
This may be a silly question, but are you sure that your Exchange server is set up to accept SMTP requests and/or to be used as a gateway (or whatever it's called... sorry, bad coffee day)?
I think you may be right, I am now getting the following error
SYSTEM WARNING: fsockopen() [function.fsockopen]: unable to connect to myserver:25 (No connection could be made because the target machine actively refused it.)
Going to check the settings of my Exchange Server and try again
I wonder if it's a user thing? Maybe if you are logged into the network the Exchange server is giving YOU access but when the web server is trying to access it (Apache, IIS or something else, by the way?) then the user running the server is not given access?
Again, just clutching at straws but I figured that I may as well suggest it.