This blog post concerns about “Email Verification” and explains you how it is done using PHP.
There is more about this change in the post Email Address Validation Updated. ~ characters are legal in the local part of an e-mail address but in the above regular expression those characters are filtered out. It begins with at least one or more word characters including the underscore, equivalent to [A-Za-z0-9_]. In this article you’ll construct and validate a simple form using HTML and PHP.Any errors or omissions will be highlighted with a message alongside the relevant field. The purpose of the form is to capture user details (name, address, and email) to obtain feedback (on fruit consumption and favorite fruit) and request a brochure.The name, address, and email fields are text renders the input as a radio button. This is because collectively the radio buttons should be treated as a group (the user should select either 0, or 1, or 2, etc.). Its value is presented as its label, and clicking on it will trigger the form submission.The "local-part" of an email address must be between 1 and 64 characters in length and may be made up in any one of three ways.It can be made up of a selection of characters (and only these characters) from the following selection (though the period can not be the first of these): Or, it can be made up of a quoted string containing any characters except "\"./*----- Below line is to import Google fonts in our page. family=Fauna One|Muli"; /*---------- CSS For the required HTML elements---------*/ #mainform #mainform h2 #form h3 input input[type=submit] #message #alert #one #two #three #innerdiv Conclusion: So, in this way we have verified the user email using php that can be used in a login form too.For more technical assistance visit our other blogs and keep following us for more excitements.This uses SMTP commands, if you are not familiar with them, please visit this page to see what commands are being used https:// Requirements (for this example): Any OS PHP Source: This is opensource and you are free to use it however you want. Is a PHP class that can be easily used to verify an email address and make sure it is valid and does exist on the mail server.