Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Sending Email  RSS feed

 
Vimala
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, Iam supposed to send mail when a certain database updates r done. I have no idea how to implement this in java . Can anyone help me out in this one.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Vimala-

On your way in you may have missed that JavaRanch has a policy on display names, and yours does not comply with it - please adjust it accordingly, which you can do right here. Thanks for your prompt attention to this matter.
 
Ulf Dittmer
Rancher
Posts: 42970
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you don't have control over the client that accesses the DB, you'll need to use triggers of some kind. What's technology is available for triggers depends on the DB you use - some DBs let you write them in Java (in which case you should be able to use the JavaMail API).
 
Casper Maxwell
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For sending emails with JavaMail, you can use following tips:

http://www.java-tips.org/content/category/5/61/29/
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!