Look in your /WEB-INF/lucee-web/remote-client/ or /WEB-INF/lucee-server/remote-client/ folders and see if there are any .tsk files, which are created when mail fails to send. If so, open them up with a text editor and see if there are any error messages in there which might tell you what’s wrong.
It’s very likely the emails are not passing all the reputation tests and email quality. As @Julian_Halliwell already mentioned, the task files are a first step in identifyimg the issue. But it can also be, that the the provider who is receiving the emails is silently discarding them, wirhout passing them to the final recepient. Check the mail servers SPF and DMARC settings.
lucee.runtime.exp.NativeException: mail65.lwspanel.com timeout occurred after 30 seconds while sending mail message:0
at lucee.runtime.net.smtp.SMTPClient._send(SMTPClient.java:912)
at lucee.runtime.spooler.mail.MailSpoolerTask.execute(MailSpoolerTask.java:139)
at lucee.runtime.spooler.SpoolerTaskSupport._execute(SpoolerTaskSupport.java:107)
at lucee.runtime.spooler.SpoolerEngineImpl.execute(SpoolerEngineImpl.java:595)
at lucee.runtime.spooler.SpoolerEngineImpl$TaskThread.run(SpoolerEngineImpl.java:533)
Caused by: lucee.runtime.net.mail.MailException: mail65.lwspanel.com timeout occurred after 30 seconds while sending mail message:0
I understand, there is a timeout as no connection is established.
When you created the mailsever connection via the Lucee admin, you can verify it and on the bottom of the page you can see the internal connection string. Did you compare it to your own cfmail script?
You could create the mailservers with this string and use cfmail without any further connection informations.