jQuery in Action, 3rd edition
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
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 - http://www.oracle.com/technetwork/java/javamail/index.html

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: http://aspose.com/file-tools
subject: how to send mail from Servlet.
It's not a secret anymore!