on 07-28-2008 11:07 AM
I am getting an error over here when I write this statement:
Session session = Session.getDefaultInstance(props, null);
MimeMessage message = new MimeMessage(session);
I am trying to add the package javax.mail.* but is not allowin me to import this package in my source code.
I am working on NWDS 7.0.11
Can some body help me plz
thanx in advance
Session session = Session.getDefaultInstance(props, null);
try Session.getInstance( props, null) instread.
I am trying to add the package javax.mail.* but is not allowin me to import this package in my source code.
copy mail.jar file to <your project>/lib folder and add this jar to java build path.
nikhil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can download from http://java.sun.com/products/javamail/
Try searching in the installation folder of your WAS
Regards
Ayyapparaj
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.