News Feed
Sections




News Archive
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
July 30, 2008 @ 14: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.

0 comments voice your opinion now!
compose email tutorial mime html content


blog comments powered by Disqus

Similar Posts

DevShed: Getting PHP to Talk to MySQL

DevShed: Working with MySQL and Sessions to Serialize Objects in PHP (Part 3)

Sameer Borate's Blog: Templating with Haml

Cyberlot's Blog: Funny little php "virus" floating around

DevShed: Using Inheritance, Polymorphism and Serialization with PHP Classes


Community Events





Don't see your event here?
Let us know!


community bugfix series unittest api framework opinion install update release podcast deployment zendserver introduction language package interview symfony laravel library

All content copyright, 2014 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework