activeMailLib is a PHP class that can validate
email addresses and send MIME email messages using
the PHP mail() function. It can generate text or
HTML email messages with user-defined headers,
body parts, and character encoding. File parts can
also be attached to the messages. The class can
also perform email address validation based on a
regular expression. It can optionally check the
addresses with the destination SMTP server using
the PHP getmxrr() function on Unix-like systems.