Page 1 of 1

Problem in sending email

Posted: 24 Jul 2020, 00:33
by Joseph
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

Re: Problem in sending email

Posted: 24 Jul 2020, 11:53
by cas
Please see here:
viewtopic.php?f=3&t=15398