cfpop and cfimap ignore specfied ports, defaults back to standard ports

Description

whilst setting up a smtp/pop/imap service for the build process, I discovered that cfpop and cfimap seem to ignore the passed port and simply default back to the standard ports

https://github.com/lucee/Lucee/blob/6.0/test/tickets/LDEV0910.cfc

Environment

None

Activity

Show:

Pothys - MitrahSoft 20 July 2022 at 15:04

I've checked this ticket with lucee latest build 6.0.0.202-SNAPSHOT. Now the issue was solved.

Pothys - MitrahSoft 29 June 2022 at 08:07

I added a PR in the . The PR fix this ticket too.

Zac Spitzer 28 June 2022 at 16:31

hmmm, might have been this typo

Zac Spitzer 24 June 2022 at 15:07

tried a few combinations, but it kept erroring, even with standard ports (not sure if that even works)

changing the port in the properties to an int (instead of a double) led to the good old com.sun.mail.imap.IMAPProvider not a subtype

I tried switching this to use standard ports and got the same error, not quite sure what the problem is

Pothys - MitrahSoft 24 June 2022 at 12:29

Yes, lucee didn't send the specified port to the mail service here

it should use this method and pass the specified port in the argument (

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

Created 24 June 2022 at 11:28
Updated 20 February 2023 at 13:26
Resolved 20 July 2022 at 15:04