File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes problem in sending mail using jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "problem in sending mail using jsp" Watch "problem in sending mail using jsp" New topic

problem in sending mail using jsp

vijayakumar durai
Ranch Hand

Joined: Aug 18, 2008
Posts: 153
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

Joined: Mar 22, 2000
Posts: 12803
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.

Rob Spoor

Joined: Oct 27, 2005
Posts: 19719

Check out JavaMail.

How To Ask Questions How To Answer Questions
I agree. Here's the link:
subject: problem in sending mail using jsp