MANTISBT 2.25 - SMTP configuration

Post about your customizations to share with others.

Moderators: Developer, Contributor

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

MANTISBT 2.25 - SMTP configuration

Post 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
cas
Posts: 1326
Joined: 11 Mar 2006, 16:08
Contact:

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:
niel.
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 = '...@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?
Post Reply