Cannot Use Javamail Getting Javax.Mail.Nosuchproviderexception Errors

(Doc ID 1294226.1)

Last updated on JULY 17, 2017

Applies to:

Oracle Database - Enterprise Edition - Version and later
Information in this document applies to any platform.

*** Checked for relevance on 17-Jul-2017 ***


Custom java mail implementation using javax.mail related classes errors at runtime after upgrade to 11g. 

The java mail API functionality was enabled by loading mail.jar and activation.jar into the database.

Errors raised include:

javax.mail.NoSuchProviderException: No provider for Address type: rfc822


javax.mail.NoSuchProviderException: No provider for smtp


Database upgrade.


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