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
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
 
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