Author
how to send email in the servelet?
david hu
Ranch Hand
Joined: Jul 20, 2001
Posts: 143
Hi, I plan to construct a web site to do online bidding. After the bidding is over, the winner could be sent email about it. since the server side is servelet, how can I in servlet send email to the customer? Thanx!
Kyle Brown
author
Ranch Hand
Joined: Aug 10, 2001
Posts: 3879
Use the JavaMail API inside your servlet. It's just more Java code, after all... Kyle ------------------ Kyle Brown, Author of Enterprise Java (tm) Programming with IBM Websphere See my homepage at http://members.aol.com/kgb1001001 for other WebSphere information.
Kyle Brown, Author of Persistence in the Enterprise and Enterprise Java Programming with IBM Websphere, 2nd Edition
See my homepage at http://www.kyle-brown.com/ for other WebSphere information.
Malhar Barai
Author
Ranch Hand
Joined: Aug 17, 2001
Posts: 399
you can also use this sun.net.smtp.SmtpClient and send mails frm yr servlet.. good luck malhar
Malhar Barai
SOA & Java Book
chanoch wiggers
Author
Ranch Hand
Joined: May 24, 2001
Posts: 245
posted Nov 20, 2001 03:02:00
0
try this course at the jcd, its usually my first port of call for tutorials - they usually only cover the basics but it should get you started. http://developer.java.sun.com/developer/onlineTraining/JavaMail/ chanoch ------------------ Chanoch Wiggers Architect for Professional Java Mobile Programming
chanoch<p><a href="http://www.amazon.com/exec/obidos/ASIN/1861007736/" target="_blank" rel="nofollow">Author of Professional Apache Tomcat</a></p>
subject: how to send email in the servelet?