sending a test email via admin. logs an error but says test mail sent successfully

Description

I created a dummy mail config which obviously doesn't work (port 1 ,host a etc)

Sent a test email via admin, which claims it worked

but looking at mail.log, it reports the following errors

Environment

None

Attachments

3

Activity

Pothys - MitrahSoft 29 May 2020 at 14:58

The issue was fixed in lucee version 5.3.7.19 -SNAPSHOT. And I added the fix version also.

Michael Offner 1 May 2020 at 20:06

Zac Spitzer 30 April 2020 at 16:45

I was seeing a different error, i.e. sort of LDEV-2234, but I got a form field saying email, which I assumed I was meant to enter a test email address.

I am using the latest snapshot, it’s just Jira hasn’t been updated yet to reflect the latest version

 

Pothys - MitrahSoft 30 April 2020 at 16:19

, I've checked this ticket with affected version 5.3.7.13-SNAPSHOT, but no luck to reproduce the same issue.
I tested as per you said, but I've faced the error like as below.

And using async = false, the error failed silently. But, the user can't able to see what they missed in their settings. even if they did small mistakes in the username, pwd, server host, etc.

Zac Spitzer 30 April 2020 at 09:36

the solution is to set <cfmail async=false> so the error is caught immediately, rather than spooled and silently failing in the background

Fix:

Fixed

Details

Assignee

Reporter

Priority

Labels

Fix versions

New Issue warning screen

Before you create a new Issue, please post to the mailing list first https://dev.lucee.org

Once the issue has been verified, one of the Lucee team will ask you to file an issue

Affects versions

Created 30 April 2020 at 09:26
Updated 29 May 2020 at 14:58
Resolved 29 May 2020 at 14:56