I am attempting to send email using cfmail through our mailserver that resides on the same physical box as our Lucee server. I have dozens of websites currently running on the same server, each in their own context. All of them are able to use cfmail with no problem, except for one. On this one particular website, every time an email is attempted, the following error is generated:
java.lang.NullPointerException
java.lang.NullPointerException
at lucee.commons.io.log.log4j.Log4jEngine.getAppender(Log4jEngine.java:310)
at lucee.commons.io.log.LoggerAndSourceData.getLog(LoggerAndSourceData.java:130)
at lucee.runtime.config.ConfigImpl.getLog(ConfigImpl.java:3610)
at lucee.runtime.config.ConfigImpl.getLog(ConfigImpl.java:3604)
at lucee.runtime.net.smtp.SMTPClient._send(SMTPClient.java:754)
at lucee.runtime.spooler.mail.MailSpoolerTask.execute(MailSpoolerTask.java:115)
at lucee.runtime.spooler.SpoolerTaskSupport._execute(SpoolerTaskSupport.java:107)
at lucee.runtime.spooler.SpoolerEngineImpl.execute(SpoolerEngineImpl.java:590)
at lucee.runtime.spooler.SpoolerEngineImpl$TaskThread.run(SpoolerEngineImpl.java:528)
This website (code unchanged) was previously able to send emails without problem on an older server running Railo prior to updating in February to a new server with Lucee 5.3.4.80. Also, the same code currently works fine on my development server also running Lucee 5.3.4.80. For these reasons, I am virtually certain this is not a coding issue.
I believe something may have happened relative to the way this one website is attempting to connect to our mailserver. Currently, the website is set to use the default mail server settings as configured in the Lucee Administrator. As a workaround, I have tried adding a secondary entry in the web administrator for this site, as well as using the server and port attributes in the cfmail tag to specify the server. All attempts result in the same error.
I have spent a great deal of time searching for a solution to this problem, but have found nothing that directly addresses this issue. I would really, really appreciate any help you all could provide!
Thanks in advance!