aspose file tools*
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 Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "sending mail" Watch "sending mail" New topic
Author

sending mail

Pradeep Nair C
Greenhorn

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
Greenhorn

Joined: Apr 23, 2001
Posts: 23
Hi
u need to have a SMTP server
and there are different packages which u can use
sun.net.smtp.SmtpClient
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..
Sam


SCJP
James Moore
Greenhorn

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.
Regards
James
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: sending mail