I am trying to send SMTP email via our Exchange Server 2016. I use this code:
However, when I do the SMTP1.Send I get the following error:
java.security.cert.CertPAthValidatorException: Trust anchor for certification path not found.
Ideas?
Marc
B4X:
SMTP1.Initialize("*******.com", 587, "user", "pwd", "SMTP")
SMTP1.StartTLSMode = True
SMTP1.AuthMethod = SMTP1.AUTH_LOGIN
However, when I do the SMTP1.Send I get the following error:
java.security.cert.CertPAthValidatorException: Trust anchor for certification path not found.
Ideas?
Marc