I have an issue sending emails from my production server.
I do not use server-wide settings and pass the server, port, useTLS, userame, and password in the following code:
var msg = new mail(argumentCollection=args);
I have verified that useTLS is set to true, however, when I send a message, I get the following error:
I saw this was reported about 5 years ago but none of the proposed solutions pertain to my situation.
I am able to send emails without issue from my local machine running the same code on the same Version of Lucee.
I should note that both of these instances are launched using CommandBox version 5.4.2+00453