Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

sending email by a java code

 
kumar prabhakar
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 859
Chrome IBM DB2 Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read up on the Java sendmail API.

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

WP
 
Tim Moores
Bartender
Posts: 2675
33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The API's exact name is JavaMail. And, of course, you need access to an SMTP server to use it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic