28Jan/1026
Send Emails with a Web Form: PHP Scripting
Check this video out at Hi-Res here: www.tutvid.com Files are Located here: www.tutvid.com In the following tutorial we will start with a few html files and we will build an Email Handling PHP script that sends info from your web form to your email! It is pretty easy PHP so enjoy learning and Have fun! I am using Dreamweaver CS3, but you can use pretty much any version of Dreamweaver, just follow closely and try not to make mistakes. Please enjoy and don't forget to check out the site www.tutvid.com
No related posts.


January 7th, 2010 - 08:35
at least u guys are getting the fucking emails lol.. idk wtf it is i have it modified and all so it works for my form for a site im making for a client and im trying to get it to send to my email as a test run and …NOTHING!!!! EVER!!!! i learned alot from this guy about the coding for a form hes great but im just haveing this one problem ne one got ne advice…?
January 7th, 2010 - 08:48
funny u say that because that was the first problem i ran into at line 5 i forgot to close the string with the semi colon so it carried on and told me i had an error on line 6 lol took me forever to fix lol but now i just dont recive an email at all
January 9th, 2010 - 23:54
There is very nice and simple Feedback Form
Watch this video
watch?v=EpK56AoOQ6U
January 10th, 2010 - 04:07
I received this message after I filled out my form “Warning: mail() [function.mail]: SMTP server response: 554 The message was rejected because it contains prohibited virus or spam content in D:\Hosting\5373422\html\contactformprocess.php on line 33″ How does it have a virus or spam??? I’m a complete novice at this!
January 10th, 2010 - 06:11
it doesnt have virus, are you using a computer program to check your email like outlook, or hotmail?
January 10th, 2010 - 06:12
the files you provide on your site, are only the forms but not the .php script
January 12th, 2010 - 10:05
hey im having a problem with this script.
the problem is when i send it as an email, it gets sent but nothing comes up in the email. any got any sigestions on to why this happens?
January 12th, 2010 - 10:53
thanks MagicalArmchair, you have solved my problem.
January 13th, 2010 - 01:05
how did u fixed it? kan u help me too? it hapened to me also
January 13th, 2010 - 03:29
if any one has a problem with this script, send me a msg here in youtube and ill respond as soon as i can.
i would be glad to assist you in any way possible.
January 13th, 2010 - 15:23
Hi! This has been a great tutorial! Everything has worked so for except when the form is submitted the information doesn’t actually process and show in the email. Any ideas??? Thanks so much for your willingness to help!
January 14th, 2010 - 01:10
The video tutorial is wrong. The Email: $email line (and subsequent lines) should read Email: $emailField
January 14th, 2010 - 01:24
Phaedon…thank you for the response! I read through the strand and figured it out…everything is in good working order! Thanks a bunch!!!
January 14th, 2010 - 01:33
no problem. otherwise, this is a great tutorial. thanks!
January 14th, 2010 - 05:12
PHAEDON!!!!! You just saved me from going crazy! I must have watched this vid. 50 times trying to figure out what was wrong…THanks!!!!
January 14th, 2010 - 05:12
@phaedon thanks alot for catching that mistake!!
January 14th, 2010 - 05:34
tutvid…Keep the good work coming! I have used your videos a bunch of times! Thanks!!!!
January 14th, 2010 - 13:52
I’ve tried this twice now and it still doesn’t work. I’ve checked everything character for character but it still doesn’t work. This tutorial doesn’t work
January 15th, 2010 - 03:06
@xinsanendabrainx no problem… also make sure to change the headers line to the following:
$headers = “From: $emailField\r\n”;
January 15th, 2010 - 22:10
hi! i followed this tuturial carefully and the form only half works. i do get an email but the name, info, comment (my three fields) are blank in the email. basically the email coming through is like:
—————————————————————-
Name:
Email:
Comment:
Do you have any ideas as to why name, email, comment comes through blank?
Brilliantly useful tutorial people ! ! ! ! ! ! ! ! ! ! !
January 17th, 2010 - 20:38
I have followed your tutorial and when I am trying to send the message, it gives the following error:
Warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in C:\xampp\htdocs\project\contac tformprocess.php on line 31
Thank you for your interest! Your email will be answered very soon!
Is that I have been using localhost and have no proper server or is it something else
January 20th, 2010 - 18:55
Have you ever had this problem? At the top of the results page it is saying: Warning: mail() [function.mail]: SMTP server response: 554 The message was rejected because it contains prohibited virus or spam content in D:\Hosting\5523277\html\contactformprocess.php on line 55
January 21st, 2010 - 09:21
SOMEONE PLEASE HELP!
I have checked for typos many times already. Whenever I enter the html code of my webpage, the last part of it turns all red. (IncludingEOD;echo “$theResults”;) When I click on the submit button online after uploading to my server, I dont receive an email and it sends me to my address with the contactformprocess.php file at the end.
Please help Im very frustrated and tired. Its 321AM
January 26th, 2010 - 04:17
Does this php form work with the preview in a browser? (not hosted online)
I have been trying to view it through safari, but with no luck. I guess you can’t because Nate didn’t even test it before uploading it.
January 26th, 2010 - 12:45
NE one know how I can display the message sent OK. on the same page?
February 25th, 2010 - 07:23
I’m having the same problem this person had:
hi! i followed this tuturial carefully and the form only half works. i do get an email but the name, info, comment (my three fields) are blank in the email. basically the email coming through is like:
—————————————————————-
Name:
Email:
Comment:
Do you have any ideas as to why name, email, comment comes through blank?
Brilliantly useful tutorial people ! ! ! ! ! ! ! ! ! ! !