SnailPHP is a framework to send plain text and HTML emails using PHP. It also has template features to craft your HTML emails.