Skip to Content
0
Former Member
Mar 30, 2010 at 07:56 PM

Send Email from Web Dynpro

123 Views

Hello,

I'm trying to send an email from a web dynpro form, I already add the mail.jar (javamail-1.4.3) to the java build path of the project and I add the recommended code in all forums. The project is fine an I don't have compile errors.

The problem is when I "deploy and run", during the build, all the classes corresponding to the javamail library shows me error.

" [javac] Compiling 14 source files to C:\NWDSWS.jdi\LocalDevelopment\t\6D663493A729F892D2F000D69576C24B\classes

[javac] ERROR: C:\NWDSWS.jdi\LocalDevelopment\t\6D663493A729F892D2F000D69576C24B\gen_wdp\packages\pe\com\minsur\wd_mail_v1\mailtestapp\comp\MailTestCompView.java:21: package javax.mail does not exist

[javac] ERROR: import javax.mail.*;

[javac] ERROR: ^

[javac] ERROR: C:\NWDSWS.jdi\LocalDevelopment\t\6D663493A729F892D2F000D69576C24B\gen_wdp\packages\pe\com\minsur\wd_mail_v1\mailtestapp\comp\MailTestCompView.java:22: package javax.mail.internet does not exist

[javac] ERROR: import javax.mail.internet.*;

[javac] ERROR: ^"

So the form display and it doesnt do anything.

What I have to do? I have to deploy first the javamail.jar to the WAS before this? How can I do that?

Regards

SU