PDA

View Full Version : Formmail question...


pdacrandy
04-11-2007, 08:31 PM
I create an online form using Forms4free.com The HTML email form works perfectly, and the formmail file works as well. However, after someone submits the web form, and it goes to the formmail file, I want to add something to the formmail file so that the formmail file grabs the email address that the person provided when they filled out the form and sends an email directly to that person to confirm receipt of the form and to tell them that I will respond to them within 24-48 hours. Does anyone know the PHP code that needs to be added to the formmail file to accomplish this? Thanks

rafiki
04-11-2007, 09:57 PM
what code do you currently have? and what do your want to do? you need to tell them that you will respond in 24-48 hours?

Len Whistler
04-11-2007, 10:10 PM
I recommend studying the php mail() function yourself http://ca.php.net/manual/en/function.mail.php and re-write the code. You can easily pass on the users email to the php mail script to send a custom message.