Sure Jan and thank you again for your reactivity.
My webapp is a sort of mail server, configurable to handle one or more email accounts and listen for either new or removed messages, so I absolutely need to choose the javax.mail version.
No, I don't use jndi.
-----jetty-users-bounces@xxxxxxxxxxx ha scritto: -----
Per: JETTY user mailing list <jetty-users@xxxxxxxxxxx>
Da: Jan Bartel
Inviato da: jetty-users-bounces@xxxxxxxxxxx
Data: 10/05/2017 04.14PM
Oggetto: Re: [jetty-users] Force webapp to use different javax.mail from that one included in lib/jndi
Before I answer you, please tell me whether you want to use javax.mail directly in your code to send/receive email, or do you want to use it with jndi, eg lookup a reference to "mail/Session" ?