Added: 2 years ago
From: mushroomHEADBANGERS
Views: 15,110
Sort by time | Sort by thread (beta)

Link to this comment:

Share to:
see all

All Comments (36)

Sign In or Sign Up now to post a comment!
  • Thankyou so much buddy! Helped me alot!!!

  • which yahoo mail r u using!is it australian one!!!in which country u r living tht ur yahoo is differnt from us!!!plz inform me!!thanks

  • Hey Um The Emails Always go to my junk folder and i cant change it

  • Make sure to put the closing bracket after <?php ......

  • There is a mistake in the php code. There is a bracket missing where the <?php is.... Thx mushroomheadbangers, this code works really well.

  • How do I add an extra field for their E-Mail address? Thanks

  • I got this:

    "Warning: mail() [function.mail]: SMTP server response: 554 The message was rejected because it contains prohibited virus or spam content in D:\Hosting\7346810\html\email.­php on line 15

    We encountered an error sending your mail "

    I'm using godaddy I've had SOOO many problems trying to get this form to work :[

  • hey

    i have copied ur code and have things setup but when i click the send button it doesnt send an email i havent change any of ur code. i dnt have my website on a server yet does this stop the php code from working? i currently building it on my computer

    many thanks

  • @Doubtfire95 You'd need Apache and PHP installed on your computer for it to function properly locally.

  • @mushroomHEADBANGERS this would mean its only on my computer not the web??

    cheers i'm new to this

  • @Doubtfire95 Correct. It's fine :P

    There are tons of free web-sites out there that you can test it on if you don't have your own.

  • Hi,

    I've done all the things but when I try on my pc after I click the "SEND MESSAGE" button appear this message:

    Thank. Click HERE to return to the Home Page' ); } else {print "Message Error"; } ?>

    I've write same as you.

    Sorry for the Bad English :)

  • @TheMagicOfGabriel Sounds like you are missing a comma, bracket, or something VERY simple. I'd double-check your code carefully and cross-reference it with the one I hosted.

  • did it all but just sents you to a page: URL\test.php. and the page is blank. also the message does not send to my email

  • every time i hit submit it opens a download screen to download the php, how do i fix this?

  • i get this error

    Parse error: syntax error, unexpected T_STRING in /home/a5586799/public_html/htm­l/mail.php on line 6

  • @miniarma it means you have an error on line 6 in ur php file maybe missing a bracket or something home boy

  • When I copied your code and set up everything, it sends the email, but doesn't put the info that the person put in. It's just a blank email.

  • @thekidkook Does it display the proper e-mail title too? Also, did you verify that the file was saved and changed to a PHP file?

  • THANK YOU!! I followed your directions and had a working contact form in less than a minute! XOXOXOX

  • @Neptune2007 You're very welcome, glad to hear it :)

  • does my website need to be hosted in order for it to work? Or can I test it while I am still building my html website on my computer?

  • You'd have to install Apache and PHP on your system to run PHP scripts :/

  • hey mate, ive copied ur code exactly but when i hit submit an eroor message appears saying it cannot find my php file. All the file names are correct and in the same directoy so i really dont know whats wrong? any advice would be great

  • Ensure the PHP file is in the same directory as the file with the e-mail form. Also ensure the spelling is correct (Case Sensitive) and check the CHMOD (File Permissions) on the PHP file.

  • This doesn't work for me :(

    It fails every time. It tries to connect through port 25, but gmail blocks port 25. Any ideas?

  • I didn't know G-Mail blocked that port O_O. You could always register a different e-mail (Yahoo or something) and have it all forwarded to your GMail.

  • I got it working, I installed ssmtp and set up php to use it. Now it works.

  • Ah, smart! Well I'm glad to hear you got it working :)

  • A great tutorial in a relaxed enviroment so many others. Don't give you the faith to continue and complete the excerize.

  • thank u ...ur tutorial is aw sum ..........

  • can make give the coding of that because i make lot of mistake ....

  • Check the video description. I included a link to a file I made with the exact coding you will need shown in this video.

  • Thank you so much. I am writing a website for my friend and he wanted people to be able to e-mail him and now i can do that, so again THANKS!!

  • No problem, I know it can be a hassle finding a simple way of doing this. I figured I'd share for people like you. I am glad you found it helpful. If you have any further questions feel free to message or comment.

    Thanks!

Loading...
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more