Mails not sending

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
shanthini
Posts: 39
Joined: 10 Apr 2010, 12:01

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: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Mails not sending

Post by cas »

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