Tropicalista / lucee-cfimap

cfimap tag for Lucee Server
13 stars 6 forks source link

SSL issue #2

Closed fraxen closed 7 years ago

fraxen commented 7 years ago

Hiya - a great little library/tag you have put together - I have still yet to test it thoroughly, but I bumped into a bug...

On my installation (Lucee 4.5/Tomcat/Windows) I had problem doing a secure connect. If I change line 21 in the connect method in imap/imap.cfc to this, then it works:

objProperties.put("mail.store.protocol", arguments.secure ? 'imaps' : 'imap');
Tropicalista commented 7 years ago

Oh, looks great. I will make a pr asap.

Many thanks

Tropicalista commented 7 years ago

Fixed by 94ec89f