News Feed
Jobs Feed
Sections




News Archive
feed this:

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
January 15, 2010 @ 08: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.

0 comments voice your opinion now!
solar framework email solarmail tutorial



Community Events











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


framework package security symfony2 support unittest opinion hhvm code install overview language application release component composer podcast facebook hack introduction

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