Knowledgebase
PHP Email Script Help
Posted by mystycs, 12-12-2010, 05:05 AM | I have this php script, and i set it so the email that is entered in the contact form, is the email that it is sentfrom when it is recieved in the inbox.
I set it as For some reason, it doesnt display the email sent from when i receive the email.
If i were to replace the with a actual email like It would work... How can i make it so, it shows the email it is sent from, in the email someone enters in the contact form.
The script is below.
Thanks
|
Posted by dubdub, 12-12-2010, 07:21 AM | Where is $Email coming from in this line?
You declare it four rows later.
|
Posted by HostForMe, 12-12-2010, 11:58 AM | dubdub is right, this is the problem. All you have to do is move that line to below the line where $Email is declared.
P.S.
The quotes are kind of extraneous.
Instead of:
You could just as equally put:
Last edited by HostForMe; 12-12-2010 at 12:09 PM.
|
Posted by mystycs, 12-12-2010, 09:51 PM | This is great!!!!
Thank you so much
|
Posted by mystycs, 12-12-2010, 09:59 PM | Thanks, i like this one though its the most simple i could find lol and i dont need anything better.
|
|
Add to Favourites
Print this Article |
Also Read