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
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.