aspose file tools*
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
Author

sending email by a java code

kumar prabhakar
Greenhorn

Joined: Feb 27, 2012
Posts: 13
Hi,
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.
Thanks
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.

WP
Tim Moores
Rancher

Joined: Sep 21, 2011
Posts: 2408
The API's exact name is JavaMail. And, of course, you need access to an SMTP server to use it.
 
Consider Paul's rocket mass heater.
 
subject: sending email by a java code