Problem in sending email

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
crazymouse
Posts: 1
Joined: 22 May 2018, 13:24

Problem in sending email

Post by crazymouse »

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 = 'smtp.king-soft.it';
$g_smtp_username = 'mbattisti@king-soft.it';
$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 mbattisti@king-soft.it
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