Mails not sending

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
shanthini
Posts: 28
Joined: Apr 10, 2010 7:01 am

Mails not sending

Post by shanthini »

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.

cas
Posts: 806
Joined: Mar 11, 2006 11:08 am
Contact:

Re: Mails not sending

Post by cas »

Please follow instructions here:
viewtopic.php?f=3&t=15398

Post Reply