Problem in sending email

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Joseph
Posts: 1
Joined: 21 Jul 2020, 23:03

Problem in sending email

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

Re: Problem in sending email

Post by cas »

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