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

Sending Email with PHP Networking
Sep 16, 2008 @ 11:21:23

DevShed has the second of a two part tutorial posted today on sending emails with the included mail() function.

In this article we will look at the protocol that is involved in sending email messages. We will also examine the thorny issue of how to send an attachment with an email message. This article is the second of two parts.

They include examples of sending simple messages and more complex ones with things like attachments and custom headers. They also tack on a look at the PEAR::Mail package to the end showing how it can make sending some things a little less painful.

tagged: email networking tutorial protocol simple complex attachment header