Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

DevShed:
Composing Messages in HTML for MIME Email with PHP
Jul 30, 2008 @ 19:34:59

DevShed continues its look at sending MIME emails with PHP in the fourth part of the series - a method for sending HTML in the message.

In this article, I'm going to show you how to provide the MIME mailer class with the ability to send email messages in HTML format. This will greatly extend its functionality, so don't miss this tutorial.

They start by reviewing the class they've created so far, including an example of its use. From there they modify it slightly to make it easy to embed the HTML content into the email by adding the addHTML and buildHTMLPart methods.

tagged: compose email tutorial mime html content

Link:


Trending Topics: