Email not sending Lucee

My issues persists in
When adding -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 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 as well , with no success.

Still no progress with
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 . 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)

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 “” to “1.5.6”
    (Make sure to save the .lco with the updated MANIFEST.MF)
  5. Download my new javax.mail 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.
1 Like

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?

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:

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