wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

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
Rancher

Joined: Mar 22, 2000
Posts: 12759
    
    5
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

Joined: Oct 27, 2005
Posts: 19649
    
  18

Check out JavaMail.


SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions How To Answer Questions
 
wood burning stoves
 
subject: problem in sending mail using jsp
 
Similar Threads
Preview the compose message
JAVA MAIL API Problem
Error in Jakarta JAMES Mail Server
Servlet sending an email
Authenticating users using JavaMail Api