REP-50152: Error while sending mail - How to Check if SMTP Needs Network Authentication?
(Doc ID 252176.1)
Last updated on SEPTEMBER 17, 2020
Applies to:Oracle Reports Developer - Version 18.104.22.168 and later
Information in this document applies to any platform.
There could be some instances, where in SMTP servers are configured in such a way that it needs Network Authentication while sending mail.
By default, Reports does not need the network Authentication. Reports generate the below error if Reports are configured in the network that needs Network authentication for SMTP server.
nested exception is: Javax.mail.MessagingException: 454 5.7.3 Client was not authenticated.
More often developers are not aware whether the SMTP has been configured or not for network authentication?
In this scenario the code from this document comes as handy for testing.
Starting with Reports 11g version the PluginParameter "mailServer" allows to to pass SMTP authentication information to the SMTP server in the reports server configuration file.
The java code in this document can be very handy to troubleshoot mailServer issues with Reports version 11g and 12c.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!