View Issue Details

IDProjectCategoryView StatusLast Update
0029085mantisbtGeneralpublic2021-10-01 15:52
Reporterhardy Assigned Toatrol  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Summary0029085: Mantis2.25 email config
Description

I just depoly a LAMP + Mantisbt 2.25.2
everthing is fine but i have problem with email config.
i just copy the email config part from config_inc.php.sample as below and write it down in config_inc.php
i fill in everything and make sure is right.
whatever i go do admin page to test mail, or i reset user password to send mail, it doesn't work.
Since it doesn't show any error log (or i can't find these log) it just bothered me for days.
iknow where did i miss, can you help me?

--- Email Configuration ---

$g_phpMailer_method = PHPMAILER_METHOD_MAIL; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL
$g_smtp_host = 'localhost'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_username = ''; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = ''; # used with PHPMAILER_METHOD_SMTP
$g_webmaster_email = 'webmaster@example.com';
$g_from_email = 'noreply@example.com'; # the "From: " field in emails
$g_return_path_email = 'admin@example.com'; # the return address for bounced mail

TagsNo tags attached.

Activities

hardy

hardy

2021-09-19 10:23

reporter   ~0065853

BTW, i find the phpMailder test method and i succesfully use phpmail to send mail, so it can say my smtp config is right.
Just some how i cannot send email through Mantisbt.

hardy

hardy

2021-09-19 10:39

reporter   ~0065854

atrol

atrol

2021-09-20 14:10

developer   ~0065858

You have set

$g_phpMailer_method = PHPMAILER_METHOD_MAIL; # or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL

so you are using the mail client (that might not be configured), but not SMTP.
You could configure your mail client, or set $g_phpMailer_method = PHPMAILER_METHOD_SMTP and the other SMTP related configuration options.

hardy,

This is not a bug or feature request for MantisBT (you are asking for help on how to configure the system). I am therefore resolving this issue as "no change required".

Please use the forums to get support on customizing and using MantisBT (refer to http://www.mantisbt.org/support.php for links and further details).