Hi Mark,
You are correct :)
I could have sworn I had tried it before but I was also experimenting with
different props so I might have had something else wrong with it.
Regardless, it seems to be working now!
Thank you so much for your help,
Regards,
Ricardo Almeida
On Tue, 26 Nov 2024 at 11
w Authenticator() {
@Override
protected PasswordAuthentication getPasswordAuthentication() {
return new PasswordAuthentication(username, password);
}
});
But I was trying to have it configured by Tomcat and use JDNI to get
the Session.
Regard
sport.java:2243)
~[angus-mail-2.0.3.jar:?]
at
org.eclipse.angus.mail.smtp.SMTPTransport.protocolConnect(SMTPTransport.java:729)
~[angus-mail-2.0.3.jar:?]
at jakarta.mail.Service.connect(Service.java:345)
~[jakarta.mail-api-2.1.3.jar:?]
Any idea what I'm doing wrong?
Rega