PHPMailer with Exchange
Posted: 19 Sep 2007, 14:16
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;
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 !
Anyone got any tips?
I've got my SMTP server defined in php.ini.$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;
$g_smtp_host = 'myserver.mydomain.local';
$g_smtp_username = 'my domain username';
$g_smtp_password = 'my domain password';
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 !
Anyone got any tips?