View Issue Details

IDProjectCategoryView StatusLast Update
0024463mantisbtadministrationpublic2018-05-31 11:45
ReporterRyu Assigned Toatrol  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionno change required 
Product Version2.14.0 
Summary0024463: Sending email function via the SMTP server of Gmail
Description

Although the ping command to "smtp.gmail.com" is pass, I can't receive any email from the SMTP server from Mantis
Would you advise?

Concerns;
-Is it no problem to use the same address on $g_smtp_username, $g_webmaster_email, $g_from_email and
$g_return_path_email?
-Should I need to these setting parameters to /config/config_inc.php from /config_defaults_inc.php?
-If a username and a password set once, others outlook users enabled by MantisBT's mail notification service
become to use the mailbox?
Do I need to set Mailbox setting each registered user?

Now setting parameters are below;
*config_defaults_inc.php
// GMAIL
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = "smtp.gmail.com";
$g_smtp_port = 587;
$g_smtp_username = "**@gmail.com";
$g_smtp_password = "password";
$g_smtp_connection_mode = 'tls';
$g_webmaster_email = '**@gmail.com';
$g_from_email = '**@gmail.com';
$g_return_path_email = '**@gmail.com';

*php.ini
extension=php_openssl.dll

Kind regards,
Ryu

TagsNo tags attached.

Activities

atrol

atrol

2018-05-21 03:47

developer   ~0059884

Is it no problem to use the same address on $g_smtp_username, $g_webmaster_email, $g_from_email and
$g_return_path_email?

I don't expect this to be a problem

Should I need to these setting parameters to /config/config_inc.php from /config_defaults_inc.php?

Never change config_defaults_inc.php. All configuration is done in config_inc.php

If a username and a password set once, others outlook users enabled by MantisBT's mail notification service
become to use the mailbox?

I am not sure I understand right what you want.
The SMTP host and user is used by Mantis to send the e-mail notifications triggered by activities of any user.
It can't be used by users for any other purpose as long as they don't know the user/password.

Do I need to set Mailbox setting each registered user?

No. This is a global setting. Users have just set their own e-mail address.

Ryu,

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).