HTML/PHP Contact Form Tutorial with Validation and Email Submit
Why Stack Overflow recommends it
Stack Overflow users cite it as the tutorial they followed when their PHP contact form or mail setup (WAMP, XAMPP, sendmail) did not work as expected.
Recommended by 0 people across 0 different months, 2017 to 2018.
What it is
A 27-minute tutorial by Clever Techie that walks through building an HTML and PHP contact form with input validation and email submission. It is a beginner-oriented coding screencast from 2016, with source code offered through the channel's Patreon.
What people said
Cites Zotov · 2017-06 · Stack Overflow · on “PHP sends the mail but it doesn't arrive in the email account with wamp”
I'm a complete newbie in PHP but I have to use it to complete a project. I have to create a contact form in a website using WEMP. I followed this video: Video Link [this video] and fix his mistake that I saw in the comments. It wasn't working so I downloaded the send email and I changed the send email.ini to: smtp_server=smtp.gmail.com smtp_port=465 auth_username=mygmail@gmail.com auth_password=mypassword then in php.ini: SMTP = localhost smtp_port = 25 sendmail_from ="myemail@gmail.com" sendmail_path = "C:\wamp\sendmail\sendmail.exe -t" When I click on send it tells me that it is sent but I never receive it my email. <?php // define variables and set to empty values $name_error = $lname_error =
Cites liam donnelly · 2017-08 · Stack Overflow · on “trying to send an email via xampp not working”
Tried to send an email get no errors, but no email is sent? Can I please have some assistance? I'm trying to do make a contact form that can send emails for a college project, as that is one of the requirements to fulfill the criteria. Php code has been added, i followed a tutorial to create that code and the contact form, which can be found here: [this video] PLEASE REMOVE DUPLICATION php.ini [mail function] ;For Win32 only. SMTP=smtp.gmail.com smtp_port=587 sendmail_from = rudolf226@gmail.com sendmail_path = "E:\stone\xampp2\sendmail\sendmail.exe" -t"` For Win32 only. ; [LINK] ' sendmail_from = rudolf226@gmail.com sendmail: [sendmail] smtp_server=smtp.gmail.com smtp_port=587 error_logfile=error
Cites Angelo Rodriguez · 2018-01 · Stack Overflow · on “Php submit button not working and error messages not showing up”
I am following a tutorial for creating a contact form with PHP, HTML, and CSS. This is my first time using php and I am having some trouble. The tutorial is here. [this video] When I try to submit the form to check the error messages, nothing seems to happen. I have no idea whats wrong and have been trying to solve this all day. Any help would be greatly appreciated. The code is for a landing page for a full website that I've been working on. Here is the HTML and CSS for the code: body { font-family:"Open Sans", Helvetica, Arial, sans-serif; font-weight:300; font-size: 12px; line-height:30px; color:#777; } .emailcontainer { max-width:400px; width:100%; margin:0 auto; position:relative; } #contact