I have verified the connection to the mail server from Lucee server admin. ( it seems to verify ).
Mail server works as it sends from out current cf website.
I have attempted to send with simple content of “test”.
Without username and password and server attributes
With username and password and server attributes
No error.
Nothing in email.log file.
Tried wrapping the code in cftry/catch block to catch any errors that might be suppressed. Seems to run fine.
@dannyF please check your web admin > Services > Tasks page for undelivery mails details.
Also, you can see the error details for cfmail in the remoteclient.log/mail.log file.