This week's book giveaway is in the Java 8 forum.
We're giving away four copies of Java 8 in Action and have Raoul-Gabriel Urma, Mario Fusco, and Alan Mycroft on-line!
See this thread for details.
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


Win a copy of Java 8 in Action this week in the Java 8 forum!
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: 19556
    
  16

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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem in sending mail
 
Similar Threads
Getting exception in sending Email from Servlet
urgent help in java mail
javamail.providers
Mail
Need Information about sending email Please