View Issue Details

IDProjectCategoryView StatusLast Update
0037256mantisbtemailpublic2026-06-18 05:42
Reporterraspopov Assigned Tocommunity  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version1.3.0 
Target Version2.28.4 
Summary0037256: Incorrect log message regarding sent email
Description

The bug was discovered by scanning the source code with a custom utility designed to detect instances where variables were incorrectly included in strings, as was the case in 0037250.

The minor issue is with logging data—in the email_api.php file, line 1422:

        if( $t_email_data === false ) {
            $t_email_sent = true;
            log_event( LOG_EMAIL_VERBOSE, 'Message $t_id has already been sent' ); <---
        } else {
            log_event( LOG_EMAIL_VERBOSE, 'Sending message ' . $t_id );
            $t_email_sent = email_send( $t_email_data );
        }
TagsNo tags attached.

Relationships

related to 0037250 assignedcommunity The news_list_page.php page does not display news for “All Projects” 

Activities

raspopov

raspopov

2026-06-16 11:22

reporter   ~0071248

PR: https://github.com/mantisbt/mantisbt/pull/2231

dregad

dregad

2026-06-18 05:34

developer   ~0071252

This was introduced by commit MantisBT master cea405cc (1.3.0).

Related Changesets

MantisBT: master cea405cc

2014-01-07 11:28

Paul Richards


Details Diff
Performance optimisation for users not using email send via cron jobs and using php-fpm - generally this would be nginx users. Windows(IIS) fastcgi does not use php-fpm. Affected Issues
0017458, 0037256
mod - core/email_api.php Diff File
mod - core/html_api.php Diff File