email notifications doesn't work after migration

Get help from other users here.

Moderators: Developer, Contributor

kazauks
Posts: 10
Joined: 07 Feb 2022, 13:10

email notifications doesn't work after migration

Post by kazauks »

Hello everyone,
Sorry for my english it's quite rusty :oops: .

We have been using MANTIS 2.5.1 for several years without any problems on an old server not backed up.
We decided this summer to set up a correct infrastructure with 3 new environment Production, PreProduction, Integration and the old production environment as a Test/dev environment.

We're experiencing troubles sending emails notification on the new environements (only on new environments).
MANTIS sends an email every 20 minutes (the sending routine is running) so emails pile up in the email buffer table and the MANTIS environment becomes unusable.
That means it no longer responds for certain action like submitting a bug or a bug modification etc.

For the moment we have disabled notifications on the production environment to allow users to use MANTIS but the absence of notifications penalize them.
Does anyone have an idea please?

Environments :
The person who installed the old PROD environment is no longer in thr team and had not done any documentation (to my knowledge).
We recreated an installation procedure by adapting the MANTISBT admin guide to the use of XAMPP.
We first installed the latest version of MANTIS but we got an error message (invalid database schema) while importing the database DUMP of the old Production environment version 2.5.1 .
So we used the closest version we could find is 2.5.2.

Test environnement (Old Production) - EMAIL notifications working
MANTIS 2.5.1
Windows server 2012
XAMPP win32-5.6.31-0-VC11
.NET Framework 3.5
.NET Framework 4.5
Microsoft Visual C++ 2008 Redistributable – x64 9.0.30729.6161
Microsoft Visual C++ 2008 Redistributable – x86 9.0.21022
Microsoft Visual C++ 2008 Redistributable – x86 9.0.30729.4148
Microsoft Visual C++ 2013 Redistributable (x64) – 12.0.30501
Microsoft Visual C++ 2013 Redistributable (x86) – 12.0.30501
Microsoft Visual C++ 2015-2019 Redistributable (x64) – 14.27.29016
Microsoft Visual C++ 2015-2019 Redistributable (x86) – 14.27.29016

3 Environments INTEGRATION, PPD et PRD (New production) - EMAIL notifications not working
MANTIS 2.5.2
Windows server 2016
XAMPP win32-5.6.31-0-VC11
.NET Framework 3.5
.NET Framework 4.5
Microsoft Visual C++ 2008 Redistributable – x64 9.0.30729.6161
Microsoft Visual C++ 2008 Redistributable – x86 9.0.21022
Microsoft Visual C++ 2008 Redistributable – x86 9.0.30729.4148
Microsoft Visual C++ 2015-2019 Redistributable (x64) – 14.28.29325
Microsoft Visual C++ 2015-2019 Redistributable (x86) – 14.27.29016

What we tried :
We ran the MANTIS diagnostic scripts. Diagnostic OK
We checked all the config files of MANTIS, PHP and PHPMyAdmin of the new environments. Everything seems OK extension=php_openssl.dll activated
We aligned all MANTIS, PHP and PHPMyAdmin config files with those of the old PROD (where the problem is not found). Configuration identical (except configuration delta due to the versions) OK
We asked the network team to check for a possible network-side problem. OK, no network-side problem.
We asked the flow team to verify a possible security block. OK no event in the log of the security solution
We imported the PROD database on the preprod. KO the problem of slowness appears and the emails are no longer sent.
We removed mails in the buffer table on PPD and INT. KO the problem does not go away and it takes more than 20 minutes for an email to be sent.
Note: Sometimes the first email that arrives after cleaning the mail buffer table leaves instantly, but the next ones do not leave until about 20 minutes.
We tested sending mail via Telnet command from the PROD machine. OK Emails are sent instantaneously.
We enabled synchronization of MANTIS routines to the environment ($g_email_send_using_cronjob = ON;) and executed the .php email sending routine script by command line. KO the script executes but fails to send the mail.
We imported the dump of the new PROD database on the old PROD. OK Once the buffer table cleaned up everything works on the old PROD environment
We removed the log file and tried several times to reproduce the error with $g_log_level = LOG_EMAIL_VERBOSE; on the PPD environment. KO no error message in the log. We just see that the email sending routine runs in a loop.
We changed the settings for sending mail and timeouts in the MANTIS, PHP and PHPMyAdmin config files. OK disappearance of the problem as soon as the sending of notifications is deactivated
We reviewed the . php files of MANTIS related to sending mail and managing the mail queue. Preliminary review : everything seems OK but we do not know how it works.
As we have strictly the same XAMPP versions on machines (same executable) we tried to copy the entire XAMPP root folder that contains everything (mantis+mysql+php+testlink etc) from the old PROD machine (where the mails work) to the INT machine (where emails do not work).
Sending emails still does not work even with all the files of the old PROD where it works (I remind that sending mail via telnet works well on all machines).

Configuration :
XAMPP 5.6.31 and MANTIS 2.5.2 installations are standard except for the following files we adapted :
- MANTIS config files: « config_inc.php », « custom_constants_inc.php » and « custom_strings_inc.php ».
- PHP config file « php.ini »
- Mysql config files « my.ini » with extension=php_openssl.dll activated.
- phpMyAdmin config file « config.inc.php »

By any chance, I would point out that we also installed TESTLINK on the same machine and linked it to MANTIS.
Testlink config files we modified : « config.inc.php», « custom_config.inc.php » and « mantis/cfg.php ».

MANTIS config_inc.php :
$g_hostname = 'localhost';
$g_db_type = 'mysqli';
$g_database_name = 'bugtracker';
$g_db_username = '*****';
$g_db_password = '*******';

$g_default_timezone = 'Europe/Berlin';

$g_crypto_master_salt = '*********************************************';

# --- anonymous login -----------
# Allow anonymous login
$g_allow_anonymous_login = OFF;
$g_anonymous_account = '*****';

# --- Email Configuration ---
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
$g_smtp_host = 'smtpgw.*******.loc'; # used with PHPMAILER_METHOD_SMTP
$g_smtp_username = ''; # used with PHPMAILER_METHOD_SMTP
$g_smtp_password = ''; # used with PHPMAILER_METHOD_SMTP
$g_webmaster_email = 'LD-Support-Mantis-***********@*******.com';
$g_from_email = 'no-reply-mantis@*******.fr'; # the "From: " field in emails
$g_return_path_email = 'admin@example.com'; # the return address for bounced mail
$g_from_name = 'Mantis *******;
# $g_email_receive_own = OFF;
# $g_email_send_using_cronjob = ON;

$g_window_title = 'Mantis *******;

# Revised enum string with new status
$g_status_enum_string = '10:new,20:feedback,22:REP_PRECISION_MOA,30:confirmed,32:DEM_PRECISION_AMOA,33:REP_PRECISION_AMOA,40:acknowledged,42:DEM_PRECISION_DEV,43:REP_PRECISION_DEV,50:assigned,60:fixed,80:resolved,81:REOUVERT,82:delivered,84:RECETTE,86:VALIDE,90:closed,91:ABANDON_MOA,92:REJET_AMOA,93:rejected';
$g_log_level = LOG_EMAIL_VERBOSE;
$g_log_destination='file:e:/XAMPP/htdocs/mantis/logs/mantisbt.log';
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: email notifications doesn't work after migration

Post by cas »

Start with copying the old situation in full, program and database. You can rename the DB with phpmyadmin and also change that in config_inc.php.
Now simply run the update program as described in the admin manual, do not use dumps etcetera, follow the book :mrgreen:
The do not forget to do the checks on the admin page (so do not remove/rename the admin directory yet).
This way you should get a clean new environment.
Next start checking all your existing plugins. Once done you have a clean new environment.
kazauks
Posts: 10
Joined: 07 Feb 2022, 13:10

Re: email notifications doesn't work after migration

Post by kazauks »

@cas Thank you for your response.
I suppose the database name modification was introduced in a version between our 2.5.2 and the up to date 2.25.2.
Is there an easy way to find the modification to apply to the database? is it mentionned in the versions changelogs?
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: email notifications doesn't work after migration

Post by cas »

If you want to do it the hard way :mrgreen: , you can find the changes in the admin directory, there is the schema.php script :D
kazauks
Posts: 10
Joined: 07 Feb 2022, 13:10

Re: email notifications doesn't work after migration

Post by kazauks »

I opened schema.php script but i'm not comfortable enough to do this by hand.
Is it mandatory to rename the DB for upgrading or i can juste execute the upgrade script?
is it possible to upgrade directly from 2.5.2 to 2.25.2?
is it best to upgrade following up the versions (like 2.5.1 to 2.6 then 2.6 to 2.7, etc) until i reach 2.25.2?
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: email notifications doesn't work after migration

Post by cas »

No, you can upgrade directly from 2.5 to 2.25.
Simply follow the admin guide where the process is described in detail :mrgreen:
kazauks
Posts: 10
Joined: 07 Feb 2022, 13:10

Re: email notifications doesn't work after migration

Post by kazauks »

Thank you for your help, i will try to upgrade directly from 2.5.2 to 2.25.2
kazauks
Posts: 10
Joined: 07 Feb 2022, 13:10

Re: email notifications doesn't work after migration

Post by kazauks »

I upgraded MANTIS to 2.25.2 but the problem is still there.
I will try to upgrade XAMPP too.
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: email notifications doesn't work after migration

Post by cas »

In case you removed the admin directory already, put it back untill your installation is fully operational.
Now the upgrade is done, go to www.yourdomain.com/mantis/admin
There you can do some checks around email.
In case it is not clear, continue with below steps.
in core/config_inc.php you can add the following lines to trace the issues:

Code: Select all

$g_show_detailed_errors = ON;
$g_log_level = LOG_EMAIL;

/**
 * Specifies where the log data goes
 *
 * The following five options are available:
 * - '':        The empty string means {@link http://php.net/error_log
 *              default PHP error log settings}
 * - 'none':    Don't output the logs, but would still trigger EVENT_LOG
 *              plugin event.
 * - 'file':    Log to a specific file, specified as an absolute path, e.g.
 *              'file:/var/log/mantis.log' (Unix) or
 *              'file:c:/temp/mantisbt.log' (Windows)
 * - 'page':    Display log output at bottom of the page. See also
 *              {@link $g_show_log_threshold} to restrict who can see log data.
 *
 * @global string $g_log_destination
 */
$g_log_destination = 'file:/var/log/mantismail.log';
Just take it step by step :mrgreen:
kazauks
Posts: 10
Joined: 07 Feb 2022, 13:10

Re: email notifications doesn't work after migration

Post by kazauks »

The admin/check/index.php showed two fails :
- post_max_size php.ini directive was not at least equal to the upload_max_size directive (8MB VS 10MB)
- return_path_email configuration option was not specified

I fixed both and have only those warnings now :
Image

I tested email sending from the email_queue.php page.
When i press the "Send Or Delete" button (1) the queued email is instantaneously sent maybe every 4 tries.
Most of the time a loading/spinner icon appears in the browser tab and a error message appears after few minutes and the email is sent.
Testing Email are sent instantaneously but if i spam the "Send Mail" (2) button i obtain the same behavior and error message.
Image
Image
Same behavior when i delete a user password.
Image

With LOG_EMAIL and LOG_EMAIL_VERBOSE MANTIS log looks like this:
I anonymized emails here.
2022-03-02 17:10 CET MAIL email_api.php:961 email_bug_added() Issue #40052 reported
2022-03-02 17:10 CET MAIL_VERBOSE email_queue_api.php:127 email_queue_add() message 887967 queued
2022-03-02 17:10 CET MAIL email_api.php:589 email_send_confirm_hash_url() Password reset for user @U344 sent to myemail
2022-03-02 17:10 CET MAIL_VERBOSE email_api.php:2122 email_shutdown_function() Shutdown function called for /mantis/manage_user_reset.php (email processing forced)
2022-03-02 17:10 CET MAIL_VERBOSE email_api.php:1221 email_send_all() Processing e-mail queue (2 messages)
2022-03-02 17:10 CET MAIL_VERBOSE email_api.php:1232 email_send_all() Sending message 887966
2022-03-02 17:10 CET MAIL_VERBOSE email_queue_api.php:190 email_queue_delete() message 887966 deleted from queue
2022-03-02 17:10 CET MAIL_VERBOSE email_api.php:1232 email_send_all() Sending message 887967
2022-03-02 17:10 CET MAIL_VERBOSE email_queue_api.php:190 email_queue_delete() message 887967 deleted from queue
2022-03-02 17:10 CET MAIL_VERBOSE email_queue_api.php:127 email_queue_add() message 887968 queued
2022-03-02 17:10 CET MAIL email_api.php:589 email_send_confirm_hash_url() Password reset for user @U12 sent to otheruseremail
2022-03-02 17:10 CET MAIL_VERBOSE email_api.php:2122 email_shutdown_function() Shutdown function called for /mantis/manage_user_reset.php (email processing forced)
2022-03-02 17:10 CET MAIL_VERBOSE email_api.php:1221 email_send_all() Processing e-mail queue (1 messages)
2022-03-02 17:10 CET MAIL_VERBOSE email_api.php:1232 email_send_all() Sending message 887968
2022-03-02 17:23 CET MAIL_VERBOSE email_queue_api.php:190 email_queue_delete() message 887968 deleted from queue
With LOG_ALL there is still no error in the queries related to emails
2022-03-02 22:09 CET DB database_api.php:318 db_query() array (
0 => 'SELECT * FROM mantis_email_table WHERE email_id=887972',
1 => '0.0002',
)
2022-03-02 22:09 CET DB database_api.php:318 db_query() array (
0 => 'DELETE FROM mantis_email_table WHERE email_id=\'887972\'',
1 => '0.0007',
)
2022-03-02 22:09 CET MAIL_VERBOSE email_queue_api.php:190 email_queue_delete() message 887972 deleted from queue
2022-03-02 22:09 CET DB database_api.php:318 db_query() array (
0 => 'SELECT email_id FROM mantis_email_table ORDER BY email_id ASC',
1 => '0.0002',
)
2022-03-02 22:09 CET DB database_api.php:318 db_query() array (
0 => 'UPDATE mantis_user_table SET last_visit=1646255381 WHERE id=1',
1 => '0.0002',
)
I checked Apache Error Log. Errors AH01909 and php_ftp.dll are also logged on the environment that works fine
I anonymized the domain here.
PHP Warning: PHP Startup: Unable to load dynamic library 'E:\\XAMPP\\php\\ext\\php_ftp.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Wed Mar 02 16:47:25.084308 2022] [mpm_winnt:notice] [pid 6252:tid 736] AH00354: Child: Starting 150 worker threads.
[Wed Mar 02 16:56:25.732303 2022] [:error] [pid 6252:tid 1816] [client 172.28.34.71:3709] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\vendor\\phpmailer\\phpmailer\\src\\SMTP.php on line 1228, referer: <domain>/mantis/admin/email_queue.php
[Wed Mar 02 16:56:25.732303 2022] [:error] [pid 6252:tid 2152] [client 172.28.34.70:28897] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\core\\session_api.php on line 122, referer: <domain>/mantis/manage_user_page.php?sort=username&dir=ASC&save=1&hideinactive=0&showdisabled=0&filter=T&search=
[Wed Mar 02 16:56:25.732303 2022] [:error] [pid 6252:tid 2148] [client 172.28.34.70:7303] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\core\\session_api.php on line 122, referer: <domain>/mantis/manage_user_page.php?sort=username&dir=ASC&save=1&hideinactive=0&showdisabled=0&filter=T&search=
[Wed Mar 02 16:56:25.747921 2022] [:error] [pid 6252:tid 2144] [client 172.28.34.71:9189] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\core\\session_api.php on line 122, referer: <domain>/mantis/manage_user_page.php?sort=username&dir=ASC&save=1&hideinactive=0&showdisabled=0&filter=T&search=
[Wed Mar 02 16:56:25.747921 2022] [:error] [pid 6252:tid 2156] [client 172.28.34.71:51961] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\core\\session_api.php on line 122
[Wed Mar 02 16:56:25.763547 2022] [:error] [pid 6252:tid 2164] [client 172.28.34.70:58402] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\core\\session_api.php on line 122
[Wed Mar 02 16:56:25.763547 2022] [:error] [pid 6252:tid 2160] [client 172.28.34.70:39903] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\core\\session_api.php on line 122, referer: <domain>/mantis/manage_user_page.php?sort=username&dir=ASC&save=1&hideinactive=0&showdisabled=0&filter=T&search=
[Wed Mar 02 16:56:25.779174 2022] [:error] [pid 6252:tid 2132] [client 172.28.34.71:59099] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\core\\session_api.php on line 122, referer: <domain>/mantis/admin/email_queue.php
[Wed Mar 02 17:03:05.755393 2022] [:error] [pid 6252:tid 2152] [client 172.28.34.71:6185] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\vendor\\phpmailer\\phpmailer\\src\\SMTP.php on line 1228, referer: <domain>/mantis/manage_user_edit_page.php?user_id=12
[Wed Mar 02 17:09:23.574536 2022] [:error] [pid 6252:tid 2156] [client 172.28.34.71:24026] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\vendor\\phpmailer\\phpmailer\\src\\SMTP.php on line 1228, referer: <domain>/mantis/manage_user_edit_page.php?user_id=344
[Wed Mar 02 17:15:28.307172 2022] [:error] [pid 6252:tid 2156] [client 172.28.34.70:19880] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\vendor\\phpmailer\\phpmailer\\src\\SMTP.php on line 1228, referer: <domain>/mantis/manage_user_edit_page.php?user_id=12
[Wed Mar 02 17:25:33.511514 2022] [mpm_winnt:notice] [pid 2164:tid 580] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Wed Mar 02 17:26:03.527262 2022] [mpm_winnt:notice] [pid 2164:tid 580] AH00431: Parent: Forcing termination of child process 6252
[Wed Mar 02 17:26:07.210444 2022] [ssl:warn] [pid 5304:tid 592] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 02 17:26:07.319822 2022] [ssl:warn] [pid 5304:tid 592] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: PHP Startup: Unable to load dynamic library 'E:\\XAMPP\\php\\ext\\php_ftp.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Wed Mar 02 17:26:07.351075 2022] [mpm_winnt:notice] [pid 5304:tid 592] AH00455: Apache/2.4.26 (Win32) OpenSSL/1.0.2l PHP/5.6.31 configured -- resuming normal operations
[Wed Mar 02 17:26:07.351075 2022] [mpm_winnt:notice] [pid 5304:tid 592] AH00456: Apache Lounge VC11 Server built: Jun 18 2017 13:03:53
[Wed Mar 02 17:26:07.351075 2022] [core:notice] [pid 5304:tid 592] AH00094: Command line: 'E:\\xampp\\apache\\bin\\httpd.exe -d E:/XAMPP/apache'
[Wed Mar 02 17:26:07.366699 2022] [mpm_winnt:notice] [pid 5304:tid 592] AH00418: Parent: Created child process 4976
[Wed Mar 02 17:26:07.851090 2022] [ssl:warn] [pid 4976:tid 716] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
[Wed Mar 02 17:26:08.022973 2022] [ssl:warn] [pid 4976:tid 716] AH01909: www.example.com:443:0 server certificate does NOT include an ID which matches the server name
PHP Warning: PHP Startup: Unable to load dynamic library 'E:\\XAMPP\\php\\ext\\php_ftp.dll' - The specified module could not be found.\r\n in Unknown on line 0
[Wed Mar 02 17:26:08.054224 2022] [mpm_winnt:notice] [pid 4976:tid 716] AH00354: Child: Starting 150 worker threads.
[Wed Mar 02 17:31:15.461291 2022] [:error] [pid 4976:tid 2044] [client 172.28.34.70:21436] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\vendor\\phpmailer\\phpmailer\\src\\SMTP.php on line 1228, referer: <domain>/mantis/admin/email_queue.php
[Wed Mar 02 17:48:35.760958 2022] [:error] [pid 4976:tid 2044] [client 172.28.34.71:9238] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\vendor\\phpmailer\\phpmailer\\src\\SMTP.php on line 1228, referer: <domain>/mantis/admin/email_queue.php
[Wed Mar 02 21:55:17.796718 2022] [:error] [pid 4976:tid 2076] [client 172.28.34.71:14486] PHP Fatal error: Maximum execution time of 120 seconds exceeded in E:\\XAMPP\\htdocs\\mantis\\vendor\\phpmailer\\phpmailer\\src\\SMTP.php on line 1228, referer: <domain>/mantis/manage_user_edit_page.php?user_id=344
[Wed Mar 02 21:55:58.050902 2022] [mpm_winnt:notice] [pid 5304:tid 592] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Wed Mar 02 21:56:00.069507 2022] [mpm_winnt:notice] [pid 4976:tid 716] AH00364: Child: All worker threads have exited.
[Wed Mar 02 21:56:00.225755 2022] [mpm_winnt:notice] [pid 5304:tid 592] AH00430: Parent: Child process 4976 exited successfully.
I looked at the SMTP.php mentionned.
The problem seems to be that MANTIS wait for the SMTP response no?
I assume problem could be :
- SMTP server doesn't respond (unlikely because it works fine on the old environment)
- SMTP server doesn't respond because MANTIS never sent an email request
- SMTP server respond but MANTIS can't read the response
- SMTP server respond but the response never reach MANTIS server

Do you think about something else?

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

Re: email notifications doesn't work after migration

Post by cas »

I would start testing without using the email queue. First ensure mail functionality is ok with direct sending emails.
Next check the queue option.
kazauks
Posts: 10
Joined: 07 Feb 2022, 13:10

Re: email notifications doesn't work after migration

Post by kazauks »

cas wrote: 03 Mar 2022, 10:49 I would start testing without using the email queue. First ensure mail functionality is ok with direct sending emails.
By direct sending emails you mean not using MANTIS?
I tried with Telnet from the machine and the sending function seems to work fine.
Image

What do you mean by checking the queue option?
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: email notifications doesn't work after migration

Post by cas »

try to set using cronjob to NO and then check Mantis mail sending
kazauks
Posts: 10
Joined: 07 Feb 2022, 13:10

Re: email notifications doesn't work after migration

Post by kazauks »

Cronjob was already disabled, i tried with $g_email_send_using_cronjob set to NO, OFF and ON.
I reported bugs and reseted user password but whatever the cronjob value behavior is the same. Most of the time a loading/spinner icon appears in the browser tab and a error message appears after few minutes and the email is sent.
While cronjob was ON i tried this :
- monitoring mantis_email_table while i try to reproduce the problem => emails stack in the queue then are sent when i execute the send_emails.php script
- execute the send_emails.php script WHILE the problem occur =>The mail is sent (email_table emptied) but the loading/spinner icon stay in the browser tab and the error message appears once the 120 seconds timeout is reached.
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: email notifications doesn't work after migration

Post by cas »

I still think setup on new machine is not fully correct.
Did you follow this topic:
https://www.mantisbt.org/forums/viewtopic.php?t=15398
Post Reply