This script will not only check the email by regex but it will also use mx records to check if the domain exists. It also checks against one of the most popular recieve only free email sites.
Spam is a major problem. As spam filters become more effective the spam changes to evade prompting the spam filters to again step up their aggressiveness. In this escalating battle it is all too easy for legitimate email to be filtered out in error. If you have ever had to deal with a complaint from a customer who never received their activation email, only to find it in their spam folder then you are familiar with the problem. No single approach is going to ensure that all your mail gets through but one quick and easy thing you should be doing is checking the black lists and make sure you are not on them.
In this tutorial I go through creating a script which will automatically and periodically check the black lists for you. Once set up you can just leave it and rest a little more secure.
This tutorial will teach you the basics of form processing and email sending using php.
It first teaches you how to produce a html form and process it on the same page using php. Then it moves on how to send emails using php
One of the keys to running a good website, is allowing your visitors to contact you when they have a question or comment on your website. Yet, in this day of email harvesting and spam, how do you allow your website visitors to contact you, without exposing yourself to a deluge of unwanted vi*gra ads?
The answer? Use a form mailer! Click the link to read more about form processing scripts and how you can easily use them on your site. We also have an excellent form mailer that you could use on YOUR site.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
If you use this code, you will be able to validate a submitted e-mail address. It checks for an @ character, and actually checks the DNS of the e-mail address domain to make sure it has a mail server.
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris
In this tutorial you will learn how to send email to one person, multiple people, send and redirct to a page, send if someone visits your error 404 or other pages, add an attachment to an email, and even check to see if the email address entered is in the correct email format (name@domain.com).
Platform(s): Linux, Windows, FreeBSD, Mac OSX, Sun Solaris