MANTISBT 2.25 - SMTP configuration

Post about your customizations to share with others.

Moderators: Developer, Contributor

Post Reply
Posts: 1
Joined: 25 Oct 2022, 15:55

MANTISBT 2.25 - SMTP configuration

Post by EspositoAlessandro »


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:


modified form the config_inc.php.sample

and after the restarting of APACHE, emails are always sent from

can you help me?

Thank you
Posts: 1656
Joined: 11 Mar 2006, 16:08

Re: MANTISBT 2.25 - SMTP configuration

Post by cas »

Open that file again and customize to you needs. All the details are in the documentation :mrgreen:
Posts: 1
Joined: 30 Nov 2022, 06:51

Re: MANTISBT 2.25 - SMTP configuration

Post 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 = '';
$g_smtp_password = '...';
$g_administrator_email  = '';
$g_webmaster_email      = '';
$g_log_destination = "mailoutput";
$g_from_email           = 'Bug Tracker';
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = '';   # used with PHPMAILER_METHOD_SMTP
$g_smtp_connection_mode = 'tls';
$g_smtp_port = 587;
I think maybe there is a step I'm missing. Can someone help me?
Post Reply