cancel
Showing results for 
Search instead for 
Did you mean: 

java Mail -"NoSuchProvider: incorret Class" exception

Former Member
0 Kudos

I want to send mail from Development Component, not WebDyn Pro

whcih will encapsulated to EJB and used from WebDynPro DC

I use code is like this:

http://wiki.sdn.sap.com/wiki/display/Snippets/SendMailCode

this code was working from webdynpro, but from that component is not

I add all three libraries

smtp.jar and javamail.jar 1.4.2

and activation.jar from latest framework 1.1.1

but "NoSuchProvider: incorret Class" exception still occurs.

what is the reason?

how to resolve this?

thanks in advence

Accepted Solutions (0)

Answers (1)

Answers (1)

p330068
Active Contributor
0 Kudos

Dear Vladimir,

Please check the mail server information. if it is working in the webdynpro then it should also works in the DC.

Check the properties file.

Best Regards

Arun Jaiswal

Former Member
0 Kudos

code is pasted from WD DC, where it was working.

and no it is now not working in other component,

some else Ideas??

problem is complex to be....

I have seen that:

NoSuchProviderException in JavaMail service after 6.20 SP11 http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes/sdn_oss_bc_jas/~f...

/thread/25456 [original link is broken]

Edited by: Vladimir Grigoryev on Dec 27, 2011 1:24 PM