we are using mantis 2.4 on Windows 2012 Server. Email notifications were working great until just suddenly no more email. I enabled logging and discovered the logfile was full of the following error:
MST MAIL email_api.php:1385 email_send() ERROR: Message could not be sent - SMTP Error: Could not connect to SMTP host.
I looked at the mantis_email_mantis table and it had over 100 emails in it. I deleted all from the table using the MySql console. I tried sending an email however the mantis_email_mantis table just starts growing again and not sending email. The important part of my config_inc.php is below. Nothing has changed on our setup of mantis. Has anyone else experienced anything like this? What would cause email to just stop working?
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_username = 'firstname.lastname@example.org';
$g_smtp_password = 'passwd';
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_enable_email_notification = ON;
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:c/wamp64/www/mantisbt/admin/mantisbt_mail.log';
Thanks for all the help - really appreciated!
Get help from other users here.
1 post • Page 1 of 1