yeah, if you are receiving the e-mail, but it doesn’t have any content, then do what ahmed said, and also put this line at the top of your PHP script…
$email = $_POST['email'];
also, make sure that you are giving the input box a variable name, not an instance name. I had a bit of trouble getting my variables to read from the instance name of an input box…
Everything works except the autoresponder for myemail@email.com doesn’t get sent to the email address submitted. Is there a way to fix this with the code?
that will tell you if PHP is set up correctly on your server. If you get the correct screen then scroll down to where it says STMP and make sure it says localhost if not then your host probably has disabled it to prevent Spamming.
**Oh, yeah and you can’t test this locally, it has to be tested on your server (that causes so much trouble…)
Hi, PHP has to be set up correctly on my server because the email data submitted is being sent, it’s just that the email address submitted is not showing up as the “from” addres so the autoresponder doesn
t send a response to the submitted email. Here is my most updated code.
No go, the email goes through, everything is in check, but no autoresponse is sent. I DON’T GET IT!!! It even has the appropriate mail account. WHAT THE %&$$ IS GOING ON!!! ahhhhhhh
that is probably causing the problem. YOu need to have the e-mail address in there twice. Once as the name, and then again in the brackets so that the e-mail program will recognize it as an e-mail address…
Hi, this is PHP code I am using in conjunction with a flash form and i’m wondering how I can build in a bit of simple email address validation and possibly an autoresponder built into the PHP that gets sent to whatever address is submitted.