Hello Richard,

Thanks for your support.
Looking at Sun SMTP provider doc: https://javaee.github.io/javamail/docs/api/ 
You will see the properties we may use.

Among them: 
mail.smtp.proxy.host
mail.smtp.proxy.port
mail.smtp.proxy.user
mail.smtp.proxy.password

What is the SMTP provider in TomEE 8.0.13 ? Is it 
geronimo-javamail_1.6_mail-1.0.1.jar ?
The question is: does Geronimo_1.6_mail-1.0.1 support the above properties as 
the SMTP Sun provider do ?

Best Regards.

-----Original Message-----
From: Richard Zowalla <[email protected]> 
Sent: mardi 22 novembre 2022 20:16
To: [email protected]
Subject: Re: Tomee 8.0.13 and Java Mail

Hi,

TomEE relies on Geronimo mail. I  did a quick search in the source code, but 
couldn't find anything related to mail.smtp.proxy.* properties. Judging from 
the source code, it does not support ProxyAuthentication.

The RI might support proxy authentication. You can just switch the mailing 
library used in TomEE and replace it with the RI.

Gruß
Richard

Am Montag, dem 21.11.2022 um 15:38 +0000 schrieb COURTAULT Francois:
> Hello everyone,
> 
> Does TomEE 8.0.13 support proxy authentication properties for Session 
> object for sending emails ?
> Through the following properties:
> 
> *        mail.smtp.proxy.host
> 
> *        mail.smtp.proxy.port
> 
> *        mail.smtp.proxy.user
> 
> *        mail.smtp.proxy.password
> ?
> 
> Best Regards.
> 
> 
> 

Reply via email to