on 02-10-2009 6:35 AM
Dear all,
I am trying to send mail using Java Mail API with following code:-
I have created a external Library DC to wrap mail.jar, activation.jar and smtp.jar. And I have added both these DCs (java DC n ext Lib DC) to used DCs of J2E Server Component DC.
When I am trying to run this application, I am getting javax.mail.NoSuchProviderException: smtp exception. Can anybody tell me what could be the problem here??
I have written same code in session bean of a EJB DC and I am successfully able to send mails through Web Service navigator.
But when I am trying it from portal (Guided Procedure Callable Object), I am getting the above error.
Pls help.
Thanks and regards,
Amey Mogare
Edited by: Amey Mogare on Feb 10, 2009 2:24 PM
hi
check this
/people/sap.user72/blog/2005/06/01/how-to-perfom-mailing-in-portal-using-dynpage
this may due to jar files missing in the classpath
/message/437800#437800 [original link is broken]
http://www.coderanch.com/t/271336/Other-Java-APIs/java/NoSuchProviderException-smtp
let me know am i reached ur requirement
bvr
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.