Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

how to send a simple email in java  RSS feed

 
Ayeen Cruz
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi java gurus,
i need to send an email notification containing data that i got from a user input...example the user entered a name (ex. ayeen) in a textbox (html) but that name doesnt exist in the database, because of this i have to send an email to an admin telling him to add ayeen to the database...
so when the admin receives that email it would contain this fields....
to: <blahblah@whatever.com>
subj: need to add this person
<userxxxx> wants to add <ayeen> in the database
where those inside the < > means they are all dynamic...as in, it would depend on the user inputs..
i really dunno where to start or how to go about it.....
thanks in advance!
 
Torsten Schippel
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Ayeen,
check this:
JavaMail quick start
HTH
Torsten
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!