I was having the same issue with lucee 5.3.6.x I think it was. I downgraded to 184.108.40.206 listed in the above comments and it started working again.
My issues persists in 220.127.116.11-SNAPSHOT.
-Dmail.debug=true will there be a separate logfile written?
I think they get written out either into the tomcat logs under
C:\lucee\tomcat\logs or the
out.log files and report back?
Any updates to this? I’m encountering the same issue…have tried upgrading JRE and tried the RC 18.104.22.168-RC as well , with no success.
Still no progress with 22.214.171.124-SNAPSHOT
I’m a bit disappointed, that a basic feature does not get addressed.
@Zackster @micstriit Just bumping this way so you can comment. Agree with above that it’s basic functionality that’s gotten broken sometime around 126.96.36.199 . I had to downgrade as well to be able to send cfmail’s. Thanks.
Trust me, I’ve been banging on about getting this fixed for ages.
All I can suggest is making a donation to Lucee and asking for this to be prioritised.
How much of a donation? Do we know what the cause is - sounds like conflicting libraries?
my guess is a bit of that, and class loader issues, plus the javamail is quite old in lucee (1.4.7, latest is 1.6.5) https://luceeserver.atlassian.net/browse/LDEV-2618
all donations help the project, often companies privately sponsor various improvements
Let me check. Testing the problem months ago, I think I was just modifying the MANIFEST.MF file in the .lco and I made javax.mail.activation jars. Let me double check how I did it and I will post instructions. You can then use a newer mail jar.
OK. Here is what I did for my CommandBox in windows. Used 7-Zip to edit file
- Shutdown Lucee
- Copy the latest lucee-server\patches .lco file somewhere to edit
- The .lco is zip file. Edit the META-INF\MANIFEST.MF file. (Right click and edit for 7-zip Windows)
- Search for javax.mail and change the bundle-version next to it from “1.4.7.002L” to “1.5.6”
(Make sure to save the .lco with the updated MANIFEST.MF)
- Download my new javax.mail jar:
- Copy the jar to lucee-server\bundles
- Start Lucee.
- Copy the UPDATED .lco to the lucee-server\deploy folder and wait for Lucee to deploy it.
I make monthly donations and this really is a basic necessity that we need too. How can I vote for this?
Did you see this?
I did see it. Thanks for letting me know.
I’ve just pulled this in and it does indeed solve the issue when running on Windows. Thanks for letting me know Zac
Thanks, works now!
If you want stable lucee versions with new javamail:
Thanks for your time. I tried this but no luck, not with 188.8.131.52 or 184.108.40.206. Used a local test smtp server (papercut smtp) and outgoing outlook smtp server. The snapshot 220.127.116.11 solves the mail problem but results in others problems…
Did you use my lco and deploy (can take up to a minute)? Do you see the new javax.mail 1.6.2 in Admin->Bundle?
Edit: Make sure it is under the lucee-server/deploy and not WEB-INF.
Some mistakes on my part, but now it’s indeed working, thanks so much!!!