MailPro with Servoy 2025.09

I have just tried with a “blank” 2025.12 again. A simple solution that connects to an Imap account and sends a message in a war file created from a clean 2025.12 with just the mailPro stuff added.

Inside the war I see these files in WEB-INF/lib

And I see no issues… So: weird, what you are observing. I don’t get it.

Hm that seems weird.. The only difference I can see is the difference in our OS. We’re currently using Windows 11 25H2 for development and mostly deploy to either Windows Server, Windows 10/11 or Linux systems, but I don’t know for sure if that’s the cause of this issue. I mean it’s no secret that Java is running fine on all kind of operating systems, but maybe the behaviour is slightly different here.

I also have a M2 Macbook laying around here, I’ll try the same procedure on this machine later and let you know, if that made any difference.

But it wouldn’t surprise me if there’s just something off with our Windows machines. The setups “have grown” over time including different Servoy versions, a lot of bug fixing and overall lots of test scenarios, which made them kinda fragile. Maybe a clean start would help here, that’s something we wanted to deal with anyways this year.

I am pretty sure that OS does not make the difference here. But you said you tried with a clean Servoy install, no? Then it’s weird that you see a different outcome than I do…

Hi again,

I finally had some time to test a .war export from my Mac and just as expected, OS doesn’t make a difference here. Both angus and jakarta .jars have been exported as shown in your previous screenshot, but in our case this causes an exception.

However, since we don’t use the mail.jar we’ll just remove it from the export, so the whole mail stuff fully relies on jakarta. This way it seems to be working, at least in our case.

What a mess they are creating. It looks like they are migrating the missing bits into angus and now these things conflict. I find it rather weird, however, that I did not run into this. I’d prefer that you do not remove anything and I get that right. I will try to look at it again today or tomorrow.

I see that the method that fails to send is called something with “callback”. How are you sending your messages?

1 Like

I have created a new version where all references to com.sun.mail are removed. Please give that a try without removing anything from a standard Servoy install. I think - now we are good!

https://www.icloud.com/iclouddrive/00cnRDEucPA3Vy6Xt42L03BSA#mailpro-4.1.0

When creating a war file you might see a message that newer versions of jakarta.mail.x were found and exported. That should be fine and can be ignored. My versions are only shipped for developer.

1 Like

Tested with Servoy 2025.12.0 and didn’t remove any plugins from export, so both angus and jakarta .jars are found in /WEB-INF/lib folder. Working like a charm now, thank you very much! :slight_smile:

Hi Patrick,

after a few days of testing on different deployments, everything is working fine now. Thanks a lot for the update and your support, we really appreciate it.

I wanted to ask about your plans for the future of MailPro. For example, on the servoy-plugins.de website, the changelog still shows the 2015 version. At the moment, any developer who wants to start using MailPro would first have to find this forum thread to get access to the latest version.

Do you have any plans to update the website or provide a more central and up-to-date source for the plugin going forward?

Thanks again for your work on this.

Best regards,
Vik