Return Mail


I am using this php script to send mail and it works fine for me. Now what I want that the user who put his email also get one confirmation at the same time what I mean to say if the name of the user is “X” when he post this mail form he also receive one from the site as well. I tried but cannot figure out how to make it. Can anybody help me.