Email setup in Config_inc.php

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
murugesan
Posts: 1
Joined: 09 May 2018, 06:25

Email setup in Config_inc.php

Post by murugesan »

Hi All / Mantis,

I am facing issue on configuring the our OWN Email setup in the MANTIS. The GMAIL setups are working good and send and receives the mail perfectly.

SMTP_HOST = XXX.XXX.XXX.XXX - IP-adress is using here for SMTP setting (Gmail using - SMTP.Gmail.com). this is only the different we have done here. I need help on configuring the Exchange mail server for SEND and receive Emails.

Error - msg from LOG file.

2018-05-09 08:20 CEST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting


CONFIG_INC.PHP - setup for your referance.

$g_smtp_host = 'xxx.xxx.xxx.xxx';
$g_smtp_connection_mode = '';
$g_smtp_port = 25;
$g_smtp_username = 'gca-sg\GCAMantis'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = 'xxxxxxxxxxxxx'; # used with PHPMAILER_METHOD_SMTP
$g_administrator_email = 'GCAMantis@gca-sg.com';

$g_webmaster_email = 'globecast.supp@gmail.com';
$g_from_name = 'GCAMantis@gca-sg.com';
$g_from_email = 'GCAMantis@gca-sg.com'; # the "From: " field in emails
# $g_return_path_email = 'globecast.supp@gmail.com'; # the return address for bounced mail
$g_email_receive_own = ON;
$g_email_send_using_cronjob = OFF;



The Send Mail test mail is working with above credentials successfully.

With Regards,

MURU

murugesan.sundram@globecast.com
ma91
Posts: 1
Joined: 11 May 2018, 12:50

Re: Email setup in Config_inc.php

Post by ma91 »

Hi @ll i have a similar issue on setting up email on Windows Server 2012 R2 ,
mantisbt-2.14.0.
mysql version 5.5.56
xampp v3.2.2

on my localhost am able to receive emails with the configuration below however on Windows Server 2012 R2 email notification is not working please kindly assist. am Using Godaddy

# --- Anonymous Access / Signup ---
$g_allow_signup = ON;
$g_allow_anonymous_login = ON;
$g_anonymous_account = '';

# --- Email Configuration ---
$g_phpMailer_method = PHPMAILER_METHOD_SMTP; # or PHPMAILER_METHOD_SMTP,PHPMAILER_METHOD_MAIL, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'smtpout.secureserver.net'; #'localhost'; used with PHPMAILER_METHOD_SMTP
$g_smtp_username = 'xxxx@xxx.com'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = 'mypassword'; # used with PHPMAILER_METHOD_SMTP
$g_webmaster_email = 'xxxx@xxx.com';
$g_from_email = 'xxxxx@xxxx.com'; # the "From: " field in emails
$g_return_path_email = xxxx@xxxxx.com'; # the return address for bounced mail
$g_from_name = 'MantisBT';
$g_email_receive_own = ON;
$g_email_send_using_cronjob = ON;
Post Reply