REP-50152: Error while sending mail - How to Check if SMTP Needs Network Authentication?
Last updated on FEBRUARY 13, 2018
Applies to:Oracle Reports Developer - Version 220.127.116.11 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.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms