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

Richard Thomas' Blog:
Solar Framework Shorts - Sending emails using Solar
Jan 15, 2010 @ 14:33:48

In this new post to his PHPJack blog today Richard Thomas has another "Solar Short" showing you a handy feature of the Solar framework. This post looks at how to send emails.

Sending email using the Solar Framework is not only extremely simple but very flexible as well. Solar splits the process of sending email into 2 logical parts, creating the message "package" and sending the "package"

He includes a code example of using the Solar_Mail package to create and send an email with a text section, a HTML component and an image attachment. There's also a few lines dedicated to the Solar_Mail_Transport component and how you can use it directly with PHP's mail function.

tagged: solar framework email solarmail tutorial

Link:


Trending Topics: