• Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending mail with authentication.  RSS feed

 
joseph prabhu
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HI

i have code of sending mail , The code is as below.



My doubt from where the method "getPasswordAuthentication()" have to be called ?

Thanks
Joseph prabhu.
 
Paul Clapham
Sheriff
Posts: 22375
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Questions about JavaMail should not be posted in the JSP forum.
 
Paul Clapham
Sheriff
Posts: 22375
42
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That method will be called from the JavaMail code when it needs a password to authenticate to the server with.

If you're asking "Where should I call that method?" then the answer is that you shouldn't call that method.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!