Hi there. I'm a bit of a php novice I think this is more of a design question than a technical one.
I'm doing work for a company that offers free medical advice to scuba divers by way of a contact form. Because of demand, it can take up to 3 hours for the doctor to answer, so we are wanting to give instant feed back to the customer via an email sent directly to the address entiered.
At the same time, we want the details of the form emailed through to the doctor.
At present, I am using a formmail script to send the message to the user written by tectite.com. This script allows me to send a confirmation message, with particulars from the form, to the user in nice html form - perfect.
But how is the second email usually sent? What I mean is, with online ordering companies, you usually get an automated response within seconds. How do they process two formmails at once? I have tried using two different formmail scripts, but i seem to have trouble with the variable names being declared as hidden fields on the form.
I hope this makes sense, thanks for any tips.
I'm doing work for a company that offers free medical advice to scuba divers by way of a contact form. Because of demand, it can take up to 3 hours for the doctor to answer, so we are wanting to give instant feed back to the customer via an email sent directly to the address entiered.
At the same time, we want the details of the form emailed through to the doctor.
At present, I am using a formmail script to send the message to the user written by tectite.com. This script allows me to send a confirmation message, with particulars from the form, to the user in nice html form - perfect.
But how is the second email usually sent? What I mean is, with online ordering companies, you usually get an automated response within seconds. How do they process two formmails at once? I have tried using two different formmail scripts, but i seem to have trouble with the variable names being declared as hidden fields on the form.
I hope this makes sense, thanks for any tips.