Good afternoon, I have the mantisbt 2.0.0 configured on my IIS server, I have been working normally until last week, but for today's day I verified that the mailings are not being made when assigning incidents, changing the password, etc. .
The configuration made for sending mail is as follows:
$g_allow_signup = OFF; //allows the users to sign up for a new account
$g_enable_email_notification = ON; //enables the email messages
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtp.gmail.com';
$g_smtp_connection_mode = 'ssl';
$g_smtp_port = 465;
$g_smtp_username = 'touchmobile.peru@gmail.com'; //replace it with your gmail address
$g_smtp_password = '******'; //replace it with your gmail password
It should be noted that the email provided is enabled with less secure access to the application.
Problems with the send email --- Urgent
Moderators: Developer, Contributor
-
- Posts: 5
- Joined: 15 Dec 2017, 17:18
Re: Problems with the send email --- Urgent
when I make the testing mail, mantis returns the following: Testing Mail - PROBLEMS SENDING MAIL TO: ghocramf@gmail.com. Please check your php/mail server settings.
Re: Problems with the send email --- Urgent
Hi there,
So that we can help you, can you provide your logging informations if logging's enabled ?
If not, see the conf file :
Check http://www.mantisbt.org/docs/master/en- ... ig.logging for more details.
So that we can help you, can you provide your logging informations if logging's enabled ?
If not, see the conf file :
Code: Select all
- $g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
- $g_log_destination = 'path_for_the_log/mantisbtlog';
Currently working on a wiki-based plugin for MantisBT 2.X. If you'd like to test it, contact me or see the plugin section.
-
- Posts: 5
- Joined: 15 Dec 2017, 17:18
Re: Problems with the send email --- Urgent
I created and configured my logfile mantisbt.log but it's always empty
the configuration in config_inc.php is:
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'C:/inetpub/logs/mantisbt.log';
the configuration in config_inc.php is:
$g_log_level = LOG_EMAIL | LOG_EMAIL_RECIPIENT;
$g_log_destination = 'C:/inetpub/logs/mantisbt.log';
Re: Problems with the send email --- Urgent
Try
Code: Select all
file:/inetpub/...
Re: Problems with the send email --- Urgent
Should be
Code: Select all
$g_log_destination = 'file:C:/inetpub/logs/mantisbt.log';
-
- Posts: 5
- Joined: 15 Dec 2017, 17:18
Re: Problems with the send email --- Urgent
atrol wrote:Should beCode: Select all
$g_log_destination = 'file:C:/inetpub/logs/mantisbt.log';
Thanks, the log shows me the following:
2018-01-24 11:08 EST MAIL email_api.php:566 email_send_confirm_hash_url() Password reset for user @U2 sent to ghocramf@gmail.com
2018-01-24 11:08 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2018-01-24 11:08 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2018-01-24 11:08 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2018-01-24 11:08 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2018-01-24 11:08 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2018-01-24 11:08 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2018-01-24 11:08 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2018-01-24 11:08 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2018-01-24 11:08 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2018-01-24 11:08 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2018-01-24 11:08 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
2018-01-24 11:11 EST MAIL email_api.php:1389 email_send() ERROR: Message could not be sent - SMTP connect() failed. https://github.com/PHPMailer/PHPMailer/ ... leshooting
Re: Problems with the send email --- Urgent
There is not that much more to say than what you see already.
SMTP connect fails, follow the PHPMailer troubleshooting guide to find out the root cause.
SMTP connect fails, follow the PHPMailer troubleshooting guide to find out the root cause.