View Issue Details

IDProjectCategoryView StatusLast Update
0024668mantisbtemailpublic2018-08-16 03:46
ReportershyangsAssigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0024668: if-else branch:set 'smtp_connection_mode' empty string
Description

I set $g_smtp_connection_mode = ''; and test mail.

SMTP Error: Could not authenticate. occur.

I edit mantisbt\core\email_api.php

            // if( is_blank( config_get( 'smtp_connection_mode' ) ) ) {
            //  $t_mail->SMTPAutoTLS = false;
            // }
            // else {
            //  $t_mail->SMTPSecure = config_get( 'smtp_connection_mode' );
            // }
            $t_mail->SMTPSecure = config_get( 'smtp_connection_mode' );

Then I test mail. mail() send successful.

TagsNo tags attached.

Relationships

related to 0021293 closedatrol Send notifications by smtp does not work correctly, and the analysis of why it happend. 

Activities

shyangs

shyangs

2018-08-15 22:33

reporter  

mbt000.PNG (32,005 bytes)
mbt000.PNG (32,005 bytes)
mbt001.PNG (27,953 bytes)
mbt001.PNG (27,953 bytes)
mbt002.PNG (16,989 bytes)
mbt002.PNG (16,989 bytes)
mbt003.PNG (27,449 bytes)
mbt003.PNG (27,449 bytes)

Issue History

Date Modified Username Field Change
2018-08-15 22:33 shyangs New Issue
2018-08-15 22:33 shyangs File Added: mbt000.PNG
2018-08-15 22:33 shyangs File Added: mbt001.PNG
2018-08-15 22:33 shyangs File Added: mbt002.PNG
2018-08-15 22:33 shyangs File Added: mbt003.PNG
2018-08-16 03:46 atrol Relationship added related to 0021293