Page 1 of 1

MANTISBT 2.25 - SMTP configuration

Posted: 25 Oct 2022, 16:21
by EspositoAlessandro
Hi,

we have a version 2.25 on windows server 2019 and XAMPP.

I've problem whit settings SMTP server and parameters, becouse i'm not find config_inc.php in the installation folders.

i'vee tried to copy a config_inc.php file in this foleder:

E:\xampp\apache\mantisbt-2.25.2\config

modified form the config_inc.php.sample

and after the restarting of APACHE, emails are always sent from @example.com.

can you help me?

Thank you

Re: MANTISBT 2.25 - SMTP configuration

Posted: 27 Oct 2022, 07:45
by cas
Open that file again and customize to you needs. All the details are in the documentation :mrgreen:

Re: MANTISBT 2.25 - SMTP configuration

Posted: 30 Nov 2022, 07:14
by niel.
I also have an issue with SMTP settings.
I've installed Mantis with softaculous on CPanel and configured mail settings but nothing happened, I don't see any mail coming out. I've already read the documentation but I'm incapable to resolve this issue.

(Same Mantis versiĆ³n: 2.25.5)
I've configure ...config/config_inc.php file this way

Code: Select all

$g_smtp_username = '...@gmail.com';
$g_smtp_password = '...';
$g_administrator_email  = '...@gmail.com';
$g_webmaster_email      = '...@gmail.com';
$g_log_destination = "mailoutput";
$g_from_email           = 'Bug Tracker';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';   # used with PHPMAILER_METHOD_SMTP
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT | LOG_FILTERING | LOG_AJAX;
I think maybe there is a step I'm missing. Can someone help me?