actually, depending on how you coded the form processing, you can set it up to do that without needing an outside program. If I'm understanding your questions, that is
you want a visitor to enter his/her information and then once they click submit, they get an auto email thanking them?