E-WF: JavaMail Exception: javax.mail.AuthenticationFailedException, Error Using Gmail SMTP Server
(Doc ID 1436910.1)
Last updated on JULY 07, 2021
Applies to:PeopleSoft Enterprise PT PeopleTools - Version 8.50 to 8.52 [Release 8.4]
Information in this document applies to any platform.
Google GMAIL SMTP server is used as SMTP server with PeopleSoft Application.
Here are the SMTP settings as per Google
Outgoing Mail (SMTP) Server - requires TLS: smtp.gmail.com (use authentication)
Use Authentication: Yes
Use STARTTLS: Yes (some clients call this SSL)
Port: 465 or 587
Attempt to use MCF to send email from PeopleCode results with the following returned;
The issue can be reproduced at will with the following steps:
1. Set smtp.gmail.com as SMTPServer with port 465 as SMTPPort
2. Send an email using MCFOutboundEmail classes.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document