Not send email

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
lgcarneiro
Posts: 14
Joined: 29 Sep 2010, 13:11

Not send email

Post by lgcarneiro »

Hello People,

O configured my config_inc.php to send email but i can't receive email. Is there any configuration to generate LOG on DEBUG mode?
Look my configuration:

#############################
# Mantis EMAIL Settings
#############################
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:C:\mantisbt.log';

$g_email_receive_own = ON;
$g_enable_email_notification = ON;
$g_administrator_email = 'luis.carneiro@compsisnet.com.br';
$g_from_name = 'Mantis Bug Tracker';
$g_from_email = 'lcarneiro';
$g_enable_email_notification = ON;
$g_check_mx_record = OFF;
$g_smtp_host = '10.0.0.17';
$g_smtp_port = '25';
#$g_smtp_username = 'lcarneiro';
#$g_smtp_password = 'My_Password';
$g_phpMailer_method = 0;

MantisBT Version 1.2.2
Schema Version 183


Tks,
Luis Gustavo
from Brazil
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Not send email

Post by atrol »

lgcarneiro wrote: Is there any configuration to generate LOG on DEBUG mode?
I don't understand your question
if you have this settings in config_inc.php you should have a log
lgcarneiro wrote:
#############################
# Mantis EMAIL Settings
#############################
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:C:\mantisbt.log';
Please use Search before posting and read the Manual
lgcarneiro
Posts: 14
Joined: 29 Sep 2010, 13:11

Re: Not send email

Post by lgcarneiro »

My Log show that the email was send, mas I never received. I would like LOG on DEBUG mode, just to understand why can't receive email.

2010-09-29 10:29 BRT mail_recipient Issue = #20, add Project User = @U1
2010-09-29 10:29 BRT mail Issue = #20, Type = new, Msg = 'email_notification_title_for_action_bug_submitted', User = @U1, Email = 'luis.carneiro@compsisnet.com.br'.

I tested using Outlook Express, i just get receive email with option marked "My server require auth" in SMTP.
Mantis
Posts: 1
Joined: 04 Oct 2010, 14:51

Re: Not send email

Post by Mantis »

I am not getting e mail confirmation after creating a new account....
Please help.
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Not send email

Post by atrol »

Without providing more information about your installation nobody will be able to help you. (version of MantisBT, Operating System, used mail server, ..)
First of all you should check all your email-related configuration parameters of your MantisBT installation
http://docs.mantisbt.org/master/en/admi ... NFIG.EMAIL
Please use Search before posting and read the Manual
lgcarneiro
Posts: 14
Joined: 29 Sep 2010, 13:11

Re: Not send email

Post by lgcarneiro »

I Solve my problem, look my config.

#############################
# Mantis EMAIL Settings
#############################
$g_enable_email_notification = ON;
$g_administrator_email = 'luis.carneiro@dominio.com.br';
$g_return_path_email = 'luis.carneiro@dominio.com.br';
$g_from_email = 'luis.carneiro@dominio.com.br';
$g_from_name = 'Mantis Bug Tracker';
$g_phpMailer_method = 2;
$g_smtp_host = '10.0.0.1';
$g_smtp_port = '25';
$g_smtp_username = 'lcarneiro';
$g_smtp_password = 'XXXXXXXXXX';

# LOG
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:C:\mantisbt.log';
atrol
Site Admin
Posts: 8536
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Not send email

Post by atrol »

Thanks for coming back,
during "normal" operation you should disable these entries from config_inc.php to have a better performance
This is just needed for debugging purposes
lgcarneiro wrote: # LOG
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'file:C:\mantisbt.log';
Please use Search before posting and read the Manual
Post Reply