This will display random email addresses on a page. The user enters how many addresses they want and the script produces that amount. This is intended for spammers who use email harvesters and gives them a few new ones to use :-)
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.
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
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
PHP is the way to go for online email forms. This is a short tutorial with copy-and-past code on how to use the PHP email function to create an on line email form to send emails from your website.