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 sending email by a java code 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 "sending email by a java code" Watch "sending email by a java code" New topic

sending email by a java code

kumar prabhakar

Joined: Feb 27, 2012
Posts: 13
I am creating an online web-application using tomcat,i want to send e-mail when a user is registered.I have no idea about it.Please,
help me.
William P O'Sullivan
Ranch Hand

Joined: Mar 28, 2012
Posts: 859

Read up on the Java sendmail API.

Everything you need is in this forum or via Googling Java examples.

Tim Moores

Joined: Sep 21, 2011
Posts: 2413
The API's exact name is JavaMail. And, of course, you need access to an SMTP server to use it.
I agree. Here's the link:
subject: sending email by a java code
It's not a secret anymore!