This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

problem in sending mail using jsp  RSS feed

 
vijayakumar durai
Ranch Hand
Posts: 153
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
i am sending mail for who subscribe for newsletter .if there is one mail id is wrong. the mail is not going for other persons.for sending mail i am using smtp. can any body tell how to solve problem? .if you have code give to me





thanks in advance
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What does sending mail have to do with JSP? JSP should only be used for writing HTML pages.

You should perfect your mail sending code in a stand-alone Java class. A google search for "sending smtp mail with java" will find you lots of examples.

Bill
 
Rob Spoor
Sheriff
Posts: 21090
85
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check out JavaMail.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!