Problem in sending email

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Posts: 1
Joined: May 22, 2018 8:24 am

Problem in sending email

Post by crazymouse » May 22, 2018 8:31 am

I want to enable Mantis to send email for password reset and other features.

I set these parameters in config_defaults_inc.php:

$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = '';
$g_smtp_username = '';
$g_smtp_password = '********';
$g_smtp_connection_mode = '';
$g_smtp_port = 25;

When I try to send the password reset email I always receive this message in log file:

2018-05-22 15:30 CEST MAIL email_api.php:573 email_send_confirm_hash_url() Password reset for user @U4 sent to
2018-05-22 15:30 CEST MAIL email_api.php:1401 email_send() ERROR: Message could not be sent - Could not instantiate mail function

What I'm doing wrong?

MantiBT version 2.14
PHP Version 7.2

Post Reply