aspose file tools*
The moose likes Other JSE/JEE APIs and the fly likes problem in sending mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "problem in sending mail" Watch "problem in sending mail" New topic
Author

problem in sending mail

yogi maheshnath
Ranch Hand

Joined: Jan 07, 2008
Posts: 30
Hi,
I have written following code:--
But its giving following Exception though i have imported javax.mail.Authenticator :-
Thanks


Thanks&Regards<br />Yogi MaheshNath
Rob Spoor
Sheriff

Joined: Oct 27, 2005
Posts: 19697
    
  20

javax.mail.Authenticator is in the main JavaMail JAR file, so please check if that is in the class path of your servlet.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: problem in sending mail