I have set up a form from my site that sends info to my email using a cgi-bin.

Does anyone know of any code that automatically sends a receipt of the email sent to the person who just filled out the form?

I have been doing searches with google but have had no luck.

thanks