A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Other JSE/JEE APIs
problem in sending mail using jsp
Joined: Aug 18, 2008
Nov 03, 2008 02:47:00
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
Author and all-around good cowpoke
Joined: Mar 22, 2000
Nov 03, 2008 05:22:00
What does sending mail have to do with
? JSP should only be used for writing HTML pages.
You should perfect your mail sending code in a stand-alone
class. A google search for "sending smtp mail with java" will find you lots of examples.
Joined: Oct 27, 2005
Nov 03, 2008 12:09:00
Check out JavaMail.
SCJP 1.4 - SCJP 6 - SCWCD 5 - OCEEJBD 6
How To Ask Questions
How To Answer Questions
I agree. Here's the link:
subject: problem in sending mail using jsp
JAVA MAIL API Problem
Error in Jakarta JAMES Mail Server
Servlet sending an email
Authenticating users using JavaMail Api
Preview the compose message
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014