Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

problem in sending mail using jsp

 
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: 13058
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
Pie
Posts: 20511
54
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