Hi
Mails not sending in the mantis.
Please find below configuration settings in the config_inc.php
# --- Email Configuration ---
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_use_phpMailer = ON;
$g_smtp_host = 'xxx.domain.com';
$g_smtp_username = 'username';
$g_smtp_password = 'password';
$g_webmaster_email = 'admin@domain.com';
$g_from_email = 'admin@domain.com';
$g_return_path_email = 'admin@domain.com';
$g_from_name = 'Mantis Bug Tracker';
$g_smtp_port = 25;
$g_smtp_connection_mode = '';
$g_validate_email = ON;
$g_allow_blank_email = ON;
$g_enable_email_notification = ON;
$email_send_using_cronjob = ON;
$g_log_level = LOG_EMAIL;
$g_log_destination = 'file:C:\xampp\htdocs\Bugtracker\email.log';
$g_webservice_rest_enabled = ON;
Error message stored in 'email.log' is below:
2020-03-12 16:31 IST MAIL email_api.php:1401 email_send() ERROR: Message could not be sent - SMTP Error: Could not authenticate.
We checked above smtp setting separately in another file,It is working.But mantis it is not working.
kindly suggest.
Mails not sending
Moderators: Developer, Contributor
Re: Mails not sending
Please follow instructions here:
viewtopic.php?f=3&t=15398
viewtopic.php?f=3&t=15398