Email not sending Lucee 5.3.5.92

I think they get written out either into the tomcat logs under C:\lucee\tomcat\logs or the C:\lucee\tomcat\lucee-server\context\logs

Check the catalina-xxx.log or err.log or out.log files and report back?

Any updates to this? I’m encountering the same issue…have tried upgrading JRE and tried the RC 5.3.7.34-RC as well , with no success.

Still no progress with 5.3.8.74-SNAPSHOT
I’m a bit disappointed, that a basic feature does not get addressed.

1 Like

@Zackster @micstriit Just bumping this way so you can comment. Agree with above that it’s basic functionality that’s gotten broken sometime around 5.3.4.80 . 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? :smile: 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) [LDEV-2618] - Lucee

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

  1. Shutdown Lucee
  2. Copy the latest lucee-server\patches .lco file somewhere to edit
  3. The .lco is zip file. Edit the META-INF\MANIFEST.MF file. (Right click and edit for 7-zip Windows)
  4. 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)
  5. Download my new javax.mail jar:
    https://www.houstonuniform.com/lucee/javax.mail.activation-1.5.6.jar
  6. Copy the jar to lucee-server\bundles
  7. Start Lucee.
  8. Copy the UPDATED .lco to the lucee-server\deploy folder and wait for Lucee to deploy it.
2 Likes

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?

https://lucee.daemonite.io/t/5-3-8-84-snapshot-java-mail-upgraded-to-1-6-2/7528

1 Like

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:
https://lucee.daemonite.io/t/5-3-8-84-snapshot-java-mail-upgraded-to-1-6-2/7528/7?u=kabutotx

Thanks for your time. I tried this but no luck, not with 5.3.6.61 or 5.3.7.43. Used a local test smtp server (papercut smtp) and outgoing outlook smtp server. The snapshot 5.3.8.84 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.

1 Like

Some mistakes on my part, but now it’s indeed working, thanks so much!!!

22 posts were split to a new topic: Can’t send email under JBOSS

I was having a similar issue with Lucee 5.3.3 “suddenly” not being able to send to AWS SES where it had been doing so before. Since upgrading Lucee to a new version was not an option for me due to circumstances beyond my control, I went the route of updating the javax.mail.activation library and followed those instructions and it worked beautifully.

Thank you very much!

1 Like