This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
Hi, I am working on a JSP that insert all data from a form to a database when the submit button is clicked. The user need to get a password before entering the forms page. The user send us a mail and the system have to automatically send a mail within a password. My question is: How can i send automatic e-mail? Any reference or information would be appreciated. Thanks Jeff
Joined: Jun 14, 2001
When a ask a question to your forums, there is a check box for "Email notification". I need to do something similar to this... that automatically send an e-mail Thanks Jeff
Jeff, You should take a look at the JavaMail API which provides functionality for sending email in Java. If the web/appserver you are using doesn't include JavaMail support then there are a few simple classes out there that will send email as well. If this the case, email me at firstname.lastname@example.org and I will send you one that I like to use. -Adam
Adam Chace<BR>Author of :<A HREF="http://www.amazon.com/exec/obidos/ASIN/193011009X/electricporkchop/102-2552103-3190518" TARGET=_blank rel="nofollow">JSP Tag Libraries</A><BR><A HREF="http://www.chalkcreek.com" TARGET=_blank rel="nofollow">Chalk Creek Software</A>