jQuery in Action, 3rd edition
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
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.
I agree. Here's the link: http://aspose.com/file-tools
subject: sending mail
It's not a secret anymore!