I need a code for sending an automatic confirmation message

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
Delisha15
Forum Newbie
Posts: 1
Joined: Wed Sep 20, 2006 3:04 pm
Location: Florida

I need a code for sending an automatic confirmation message

Post by Delisha15 »

I have a form that is sent to an email address when the submit button is clicked. I want to be able to send that same email to the person that filled out the form using the email address they provided in the "Email" for field. I also want to be able to put some kind of "thank you message in the email.

Thanks for your help!
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

what does your existing code look like? Why don't you just duplicate whatever code is used to send the original mail and make it send to the posted email field? :?
User avatar
SpecialK
Forum Commoner
Posts: 96
Joined: Mon Sep 18, 2006 3:49 pm

Post by SpecialK »

Have the form submit to a PHP file.

Then you have the option of sending out multiple emails.

http://ca3.php.net/mail
Post Reply