Cazpa.com PHP Developer & Website Designer

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.

About Daniel Smith

I am the boss around here, if you need anything then send me a message :))

Popular Content & Keywords

depositfiles hack,add update delete in php,warning: mail() [function mail]: smtp server response: 554 the message was rejected because it contains prohibited virus or spam content in,php tutorial deutsch,php define variable,,rails vs php performance,php add update delete,add update delete records from sql server using php,warning: mail() [function mail]: smtp server response: 554 the message was rejected because it contains prohibited virus or spam content,tutorial create contact form in dreamweaver php,ruby on rails vs php 2010,php tutorial // user registration w/ sql,send emails with a web form: php scripting,
Comments (26) Trackbacks (0)
  1. 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…?

  2. 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

  3. There is very nice and simple Feedback Form
    Watch this video

    watch?v=EpK56AoOQ6U

  4. 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!

  5. it doesnt have virus, are you using a computer program to check your email like outlook, or hotmail?

  6. the files you provide on your site, are only the forms but not the .php script

  7. 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?

  8. thanks MagicalArmchair, you have solved my problem.

  9. how did u fixed it? kan u help me too? it hapened to me also :(

  10. 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.

  11. 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!

  12. The video tutorial is wrong. The Email: $email line (and subsequent lines) should read Email: $emailField

  13. Phaedon…thank you for the response! I read through the strand and figured it out…everything is in good working order! Thanks a bunch!!!

  14. no problem. otherwise, this is a great tutorial. thanks!

  15. PHAEDON!!!!! You just saved me from going crazy! I must have watched this vid. 50 times trying to figure out what was wrong…THanks!!!!

  16. @phaedon thanks alot for catching that mistake!!

  17. tutvid…Keep the good work coming! I have used your videos a bunch of times! Thanks!!!!

  18. 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

  19. @xinsanendabrainx no problem… also make sure to change the headers line to the following:

    $headers = “From: $emailField\r\n”;

  20. 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 ! ! ! ! ! ! ! ! ! ! !

  21. 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

  22. 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

  23. 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

  24. 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.

  25. NE one know how I can display the message sent OK. on the same page?

  26. 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 ! ! ! ! ! ! ! ! ! ! !


Leave a comment

You must be logged in to post a comment.

No trackbacks yet.

Powered by WordPress Lab