77 COMMENTS

  1. Hi i wanted to know how did this form send the email. From Smtp or mail() function and does it need a php mailer for making this.
    Please leave your skype id because i have a important thing to discuss with you.
    Thanks

  2. Hi, I downloaded your source code, and changed the email in $reciever, but when I open the index.html file on chrome and fill out all the details and then press on “Send Message”, the message is not being sent, it is only showing “sending your message”, its not moving ahead, its not going onto next step, can you please help me what should I do. THANK YOU !

    • Sorry I can’t tell all of my plugins name for security reasons. Here are some plugins I’m using – iThemes Security, OneSignal Push Notifications, Rank Math SEO, etc.

    • I have checked and it’s saying “Sorry, failed to send your message!”. This mean you’re using free hosting and they are not providing mail service but if you’re using paid hosting and have followed all steps that are shown on this blog such as: pass your receiver email address in the $receiver variable in message.php file then contact your hosting provider and ask them why your mail is not sending.

  3. Hi, can the same code be used in continuation to the Complete Responsive Personal Portfolio Website video you made?
    And what might need to change in the code.

    Thanks

  4. I copied everything on your codes, and I tested I got you message has been sent, but I didn’t received any mails. I tried with 2 different email ids.

  5. Hello sir the code is working perfectly in my personal pc localhost but when i run same code in windows server live I got a message email has been sent, but I didn’t received any mails. I tried different mail and also check spam folder

    • It’s not work on your editor live server because you have configured your xampp files. So it work on localhost only.

    • Make sure your hosting provider provides mail services and you’ve done all required changes that are mentioned on the blog.

  6. Hi!
    Im on hostinger and they have a php mail server and I have gotten it to work before. I used parts of your code and I keep getting a POST 404 error. Any thoughts on this?

  7. Hello, when I put my email in the php code and execute and write the information, it does not return to my email, is there an error or something else to add

  8. I have followed all the steps mentioned in the blog, when I press the send message button it displays “the message has been send” but I didn’t receive any email. I am using 000webhost

    • Did you put your email address in the mentioned variable? If yes, then this problem is from the hosting. You can try it on paid hosting.

  9. Dear Thanks for Making easy to use
    i got mail on gmail but when we send a mail msg Error Your message has been sent are showin on website
    mail working form working but only this msg are showing on website
    please reply me if possible

  10. I am a school level computer science student and I am making a functional website for my father with homepage, contact, gallery, etc. and I am currently making in my computer on html files and he is planning to launch it. Is it possible as I am not using any hosting service now and planning to use wordpress later.

  11. Hi Nepal I Am A Big Fan i didnt know how to code but you thought me alot of HTML and CSS just wanted to find out do i need anything for this to work besides a hosting provider

    • You need an online server to work this contact form. If you are using this project for learning then you can use free hosting and they also provide free sub-domains.

  12. Works perfectly! Thank you! I need to have add a page redirect to the php … to my thank you page after email sent. What script do I need to add and where to do that? THANK YOU!

  13. Thx for uploading this its working but there’s a little problem when you use this contact form and its that when you send any message with Arabic Language or any UTF8 only languages the text appear like this ������ so plz can you fix this issue and send to me the updated code

    If you don’t understand what is the issue its that Arabic text don’t appear like a readable Arabic

    Normal Arabic Looks Like:
    السلام عليكم

    This contact form Arabic Looks like:
    ������

    So plzz help and thx

LEAVE A REPLY

Please enter your comment!
Please enter your name here