Can´t send mails

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
PNV1983
Posts: 8
Joined: 12 Mar 2018, 15:46

Can´t send mails

Post by PNV1983 »

I install and configure Mantis 2.13.1 with php 7.0.28

my config_inc.php:
###########################
# MantisBT Email Settings #
###########################
$g_webmaster_email = 'pablov*****@sistemaspnv.com';
$g_from_email = 'gestio******@sistemaspnv.com';
$g_from_name = 'Gestión Ediciones ALFA S.R.L.';
$g_return_path_email = 'pablo*******@sistemaspnv.com';
$g_phpMailer_method = PHPMAILER_METHOD_MAIL;
$g_smtp_host = 'mx1.hostinger.com.ar:587';
$g_smtp_username = 'gest*******@sistemaspnv.com';
$g_smtp_password = 'Alfa*****';
$g_smtp_connection_mode = 'tsl';
$g_smtp_port = 587;
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_FILTERING | LOG_AJAX;
$g_log_destination = 'file:D:/Archivos_de_incidencias_de_Base_de_datos/mail.log';

The log file:
09-04-2018 16:23 -03 MAIL manage_user_update.php:211 Account update notification sent to administrador (pablo***@hotmail.com)
09-04-2018 16:23 -03 MAIL email_api.php:1401 email_send() ERROR: Message could not be sent - Imposible crear una instancia de la función Mail.
09-04-2018 16:23 -03 MAIL email_api.php:1401 email_send() ERROR: Message could not be sent - Imposible crear una instancia de la función Mail.
09-04-2018 16:23 -03 MAIL email_api.php:1401 email_send() ERROR: Message could not be sent - Imposible crear una instancia de la función Mail.
09-04-2018 16:23 -03 MAIL email_api.php:1401 email_send() ERROR: Message could not be sent - Imposible crear una instancia de la función Mail.

I try with Gmail account, and i have the same error at log file.

What can i do?

Thanks
PabloNV
PNV1983
Posts: 8
Joined: 12 Mar 2018, 15:46

Re: Can´t send mails

Post by PNV1983 »

I upload the same database and the same config_inc.php in a internet hosting and it woks.
I my local MantisBT intstalation doest work.

Maybe i need to configure something in php server??.

Thanks
PabloNV
PNV1983
Posts: 8
Joined: 12 Mar 2018, 15:46

Re: Can´t send mails

Post by PNV1983 »

RESOLVED
PabloNV
Post Reply