• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in sending mail

 
yogi maheshnath
Ranch Hand
Posts: 30
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I have written following code:--
But its giving following Exception though i have imported javax.mail.Authenticator :-
Thanks
 
Rob Spoor
Sheriff
Pie
Posts: 20545
56
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
javax.mail.Authenticator is in the main JavaMail JAR file, so please check if that is in the class path of your servlet.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic