Error sending email

I can’t send emails with Lucee.

I have this line in the log:

[ERROR] May 11, 2023 4:16:58 PM javax.mail.Session loadResource
WARNING: expected resource not found: /META-INF/javamail.default.address.map

Lucee: 5.3.10+120

Any idea?

that’s just log spam, can be safely ignored

5.3.10 has cfmail debug=“true” [LDEV-3754] - Lucee

Can you describe in a little more details what is happening? Aren’t you receiving the emails you are sending with Lucee, like they are getting lost?

Many thaks Zac!

“yes: sends debugging output to standard output. By default, if the console window is unavailable, ColdFusion sends output to cf_root\runtime\logs\coldfusion-out.log on server configurations.”

One thing again: what means “standard output”?

I added “debug=true” to cfmail and now i have only this line in server.out.txt (maybe this is a log file of CommandBox)

[INFO ] runwar.context: DEBUG: setDebug: JavaMail version 1.6.2

No entry in:
WEB-INF\lucee-server\context\logs\mail.log
and
WEB-INF\lucee-web\logs\mail.log

With ACF i’ve got something like this in:
/opt/coldfusion/cfusion/logs/coldfusion-out.log

DEBUG: setDebug: JavaMail version 1.5.0
DEBUG: getProvider() returning javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Oracle]
DEBUG SMTP: useEhlo true, useAuth true
DEBUG SMTP: trying to connect to host "xxxxxxxx.xxxx", port 25, isSSL false
220 mail.xxxxxxxx.me
[...]

try sending with async="false" which avoids the spooling and thus show any errors immediately

the spooling of email logs out to remoteclient.log from memory