Email configuration

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
Subha
Posts: 5
Joined: 18 Mar 2017, 04:13

Email configuration

Post by Subha »

Hi,

I have installed Mantis BT using XAMPP server and tried to create users, but no activation emails received after creating user.

What are the steps to follow for email configuration?
atrol
Site Admin
Posts: 8366
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Email configuration

Post by atrol »

Please use Search before posting and read the Manual
ak101
Posts: 1
Joined: 03 Apr 2017, 07:57

Re: Email configuration

Post by ak101 »

I am trying to do email configuration for mantis. It sends email perfectly, but it sends the url with localhost. So a user on a different device can't open my mail. Can you please tell the config file for mantis . I trying to deploy it on amazon aws.
Subha
Posts: 5
Joined: 18 Mar 2017, 04:13

Re: Email configuration

Post by Subha »

Can you attach me the config file you have changed to configure email. Still am struggling with email configuration.
ankit_sky
Posts: 5
Joined: 17 Jul 2017, 07:17

Re: Email configuration

Post by ankit_sky »

You need to make changes in config_inc.php inside config folder.

Following things need to add in config file:
#-Email COnfigurations -
$g_enable_email_notification = ON;
$g_phpMailer_method = PHPMAILER_METHOD_MAIL;
$g_smtp_host = **************;
$g_smtp_connection_mode = 'tls';
$g_smtp_port = '465';
$g_smtp_username =************;
$g_smtp_password = ***********;
$g_webmaster_email = ***********;
$g_from_name = 'Mantis Bug Tracker';
$g_from_email = **************;
$g_return_path_email = **************;
$g_email_receive_own = ON;
$g_email_send_using_cronjob = OFF;

$g_allow_file_upload = ON;
// $g_file_upload_method = DATABASE;
$g_absolute_path_default_upload_folder = '';
$g_max_file_size = 5000000;
$g_preview_attachments_inline_max_size = 256 * 1024;
Post Reply