Easy-to-follow video tutorials help you learn software, creative, and business skills.Become a member
I wanted to add this extra movie about email issues that can occur just in case you have problems getting a form to work. There are quite a few things that can occur with regards to a form, not necessarily from a server side or form validation piece. It has to do with the opposite side, meaning actually sending the email. As I have tried to stress throughout this course, the local host environment and your development enviornment is not an area where you can truly test your emails.
I have had a lot of forms that I create and it gets on the client's system and web server and it may not send correctly and it has nothing to do with my specific coding on the page. So if you have any issues with regards to trying to get an email to function within a web server. Or you're just setting up a form to email process, and you need a test file. This test email is included in your chapter seven course files.
This file is one you can run, you would put your email address here, or whomever should be receiving the emails. Put this onto the web server. Call this test Email Page and an email should be sent. This is a correct script just like the Contact Us final is a correct script, but it's usually a good idea to test the email process on the server before you try and test your more complicated form. Because it can get difficult trying to figure why your script won't run or won't work, or specifically the email won't work.
It is possible for companies to spam filters and a variety of other filter systems that may be capturing the emails that are coming in, and that's why they're not receiving them. And I've had that occur over and over. I put it out on my server, it works just fine. I put the exact same page onto the company's web server and they aren't receiving the emails. So don't necessarily assume it's your script either. Now there certainly can be problems with your script but if this test email page does not work after you've entered your email here and your email here then something is going on in the web server and specifically the SMTP portion of the web server.
The SMTP portion is the server that actually sends the email, so may sure you check with your host, if your having issues with email and you know the script is correct. Or if its within a company go to the server administrtors and talk to them about sending and email. Because there are some configurations you need to do within the web server itself to get these scripts to work correctly. Even if your code is correct, the SMPT server has to do its job in actually sending the email.
But my goal for you, for this course, is to have some scripts that you know work perfectly, that you can use for testing, such as this one. And you can use, as a form example, such as our Contact Us final page. So I hope you have enjoyed this form to email course, this is the number one question I get asked by new people to the web. Is how do I take a form and email that data and I feel very privelaged to be able to walk you through this process of taking your form data and getting it sent in an email. Just remember were using PHP in a local environment so we'll put this on the web on a full web server in order to test.
So thank you for taking the time to go through this course with me.
Get unlimited access to all courses for just $25/month.Become a member
61 Video lessons · 96774 Viewers
56 Video lessons · 110475 Viewers
71 Video lessons · 79309 Viewers
131 Video lessons · 38044 Viewers
Access exercise files from a button right under the course name.
Search within course videos and transcripts, and jump right to the results.
Remove icons showing you already watched videos if you want to start over.
Make the video wide, narrow, full-screen, or pop the player out of the page into its own window.
Click on text in the transcript to jump to that spot in the video. As the video plays, the relevant spot in the transcript will be highlighted.