Automatic email to users when database is updated
===

I would like to know how to automatically send an email to confirm their subscription to the users who sign up. Basically, when a user signs up, it adds a line in a SQL database. 

Thank you very much, I hope this is clear. 