This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes sending mail Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "sending mail" Watch "sending mail" New topic

sending mail

Pradeep Nair C

Joined: Mar 04, 2002
Posts: 13
i want to send mail to my friend having hotmail account using jsp code. is it possible using jsp or it required other things?
sameera kocharekar

Joined: Apr 23, 2001
Posts: 23
u need to have a SMTP server
and there are different packages which u can use
or u can use javamail
these two i know of
both these i have used in my code
there may be others
so u need to descide..

James Moore

Joined: Mar 08, 2002
Posts: 6
Some mail servers have a "Drop" directory where you can create a file with the SMTP headers and the email body. The mail server simply scans the drop directory on a schedule and sends the mails out.
If you did this it would simply be a case of file I/O.
It is sorta covered in the JavaRanch Style Guide.
subject: sending mail
Similar Threads
Automatic Mail sending Process...
submitting dynamic text boxes to ActionForm
how to mail using jsp
Help me to create Send Mail Page
auto reply