File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other JSE/JEE APIs and the fly likes how to send mail from Servlet. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Java » Other JSE/JEE APIs
Bookmark "how to send mail from Servlet." Watch "how to send mail from Servlet." New topic

how to send mail from Servlet.

Anand Gajjar
Ranch Hand

Joined: Feb 20, 2011
Posts: 31

i want to send authentication msg to someone who register for my website.
so i need a technique for how to send emails form servlet.
i need a code.....for that.
Pete Nelson
Ranch Hand

Joined: Aug 30, 2010
Posts: 147

You're going to have to write the code (see NotACodeMill), I'm afraid, but this documentation can help -

In preparing for battle I have always found that plans are useless, but planning is indispensable. -- Dwight D. Eisenhower
I agree. Here's the link:
subject: how to send mail from Servlet.
It's not a secret anymore!