Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Refactoring for Software Design Smells: Managing Technical Debt
this week in the
OO, Patterns, UML and Refactoring
Other JSE/JEE APIs
E-mail notification using servlets
Joined: Nov 02, 2004
Mar 11, 2007 23:35:00
i have to write a
that takes recipients address and generate a email to him. i am totally new to this concept of using servlet for email notification.
can anybody help me in this matter?
Thanks and Regards,
Joined: Dec 07, 2006
Mar 11, 2007 23:41:00
You can do this using
mail API. To learn more about it, follow this link
Java Mail API
Joined: Jul 21, 2005
Mar 14, 2007 13:53:00
I've had experience with this and just to add to Ravinder's comments, you can also use spring to configure the mail message.
Joined: Mar 22, 2005
Mar 14, 2007 16:31:00
you can also use spring to configure the mail message
Since the original post doesn't mention that Spring is being used, it seems like serious overkill to use it just to send emails. JavaMail is easy to get started with.
Have you checked out
subject: E-mail notification using servlets
Multiple email id for post update notification
Anyone else NOT get a confirmation email for SCEA Beta Part II?
Please confirm Code works with certificate
A question about sending mails with servlets..
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015