Page 1 of 1

SMTP authentication: How to make it work?

Posted: 16 Apr 2007, 07:04
by obones
Hi,

I'm desperately trying to get SMTP authentication to work with the mantis version I have, that is 1.0.3
I setup the global variables in config_inc.php to the same values I use in my thunderbird email client, but while thunderbird can send emails, every time an email is to be sent by mantis it fails with a message that is not helpful at all (send failed on address XXX)
Server side, I see the connection from Mantis, but it seems it never sends anything after the AUTH LOGIN command, hence not being authenticated at all.
Does anyone have any suggestion?

Posted: 16 Apr 2007, 08:53
by zakman
Hi,

In config_defaults_inc.php
Set $g_phpMailer_method= 2; Instead of $g_phpMailer_method= 0;
And
$g_smtp_host= 'Your SMTP host';
$g_smtp_username = 'your username';
$g_smtp_password = 'your password';

Hope that what you need

Posted: 16 Apr 2007, 09:07
by obones
I already did that, and the server receives the connection.
It's just that it seems the authentication done by Mantis is bogus