Page 1 of 1

Email won't send

Posted: 25 Jul 2007, 09:01
by armanic
Hi, can somebody advise me?

My Mantis installation (v1.1.0a3) will only send some email notifications. One type of message is consequently missing: the reset password and confirm messages for (new) users.
I can see a lot of forum topics and bugs on email problems, but found no solutions yet.

The mantis log file on emails shows the right entries and no errors. Apparently it only logs which mails are being sent, without a check if the actual send was OK.

I patched the admin/check.php file with the data of the RiceBall note in bug http://www.mantisbt.org/bugs/view.php?id=8016. Then I used the various phpMailer methods. But none of them works properly.

Test results with admin/check.php :
$g_phpMailer_method = 0 --> (not using phpMailer) Some mails are received, but no password resets etc.
$g_phpMailer_method = 1; --> (using sendmail): /admin/check.php says: Testing Mail - PROBLEMS SENDING MAIL TO: <my email address>. Please check your php/mail server settings.
$g_phpMailer_method = 2; --> (using SMTP): same as using sendmail.

I saw that method 0 is no longer supported in v1. (Am I right? The documentation is not updated yet.). But it is the only one doing at least something.

Please, help.

Posted: 25 Jul 2007, 13:20
by deboutv
Check in your configuration file, there are variables concerning the password settings.

Posted: 25 Jul 2007, 17:21
by armanic
I checked and double checked. It is not a password problem, other emails are lost as well.

Some appicable settings:

$g_allow_blank_email = OFF;
$g_enable_email_notification = ON;
$g_email_receive_own = ON;

Any other suggestions?