• Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in sending mail  RSS feed

 
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
Posts: 20903
81
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.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!