Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
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 Badass: Making Users Awesome this week in the Game Development 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.

do or die..!!!
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.