SMTP EMail

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
dccmellis
Posts: 1
Joined: 19 Sep 2020, 12:49

SMTP EMail

Post by dccmellis »

Hello:

We have selected a Mantis hosting service and getting Mantis up was VERY easy and quick!
Problem is that we cannot seem to get the SMTP email to work???

MantisBT Version 2.24.2
Schema Version 210
PHP Version 7.0.33
Database Driver mysqli
Database Version, Description 10.0.38, 10.0.38-MariaDB

We have tried editing the following in the the config/config_inc.php file:

# --- Email Configuration ---
# or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL, PHPMAILER_MTHOD_MAIL
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
# used with PHPMAILER_METHOD_SMTP
$g_smtp_host = 'xxxxx.xxxxxxx.com';
# used with PHPMAILER_METHOD_SMTP
$g_smtp_username = 'xxxx@xxxxxx.com';
# used with PHPMAILER_METHOD_SMTP
$g_smtp_password = 'xxxxxxx';
$g_webmaster_email = 'xxxxxx@xxxxxxxx.com';
# the "From: " field in emails
$g_from_email = 'xxxxx@xxxxxxxx.com';
# the return address for bounced mail
$g_return_path_email = 'xxxxxx@xxxxxxxx.com';
$g_send_reset_password=ON;
$g_smtp_connection_mode = 'ssl';
$g_smtp_port = 465;
$g_from_name = 'DCCMantisBT';

We then test by trying to send a password reset to a user. always says it sent and never gives error no matter the email info???
Is config/config_inc.php the proper file to edit? Am I missing something???

Thanks in advance!

Marshall Ellis
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: SMTP EMail

Post by cas »

config/config_inc.php is indeed the correct file to edit.
Please check this topic:
https://www.mantisbt.org/forums/viewtop ... =3&t=15398
TrevorCui
Posts: 8
Joined: 25 Jun 2021, 04:42

Re: SMTP EMail

Post by TrevorCui »

Hello Marshall,
does this issue been solved? if yes,could you please share the experence with me? I have the same problem with you
Post Reply