News Feed
Sections




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

Paul Reinheimer's Blog:
Sending Mail
May 23, 2012 @ 12:58:29

Paul Reinheimer has posted about his experiences with sending mail, specifically as it relates to using the Zend_Mail component from the Zend Framework to handle the details.

Like every product, Natural Load Testing needs to send some mail, having written and re-written a bunch of different blocks of mail code over the years, I wanted to come up with something that would work now, and continue to serve us well into the future.

He chose Zend_Mail to fulfill some of his requirements (multipart emails, sending custom emails, templates for automatic emails) and includes some sample code showing it at work. The result is an object that can be created and, by calling a "basic" method, can send an email based on an HTML template (using the HTML Email Boilerplate for the base styling).

0 comments voice your opinion now!
send email zendmail tutorial template


blog comments powered by Disqus

Similar Posts

SitePoint PHP Blog: Piping Emails to a Laravel Application

Michelangelo van Dam's Blog: Quality Assurance on PHP projects - PHPUnit part 2

Till Klampaeckel's Blog: Cooking PHPUnit (and a chef-solo example on top)

DZone.com: Development Setup for Neo4j and PHP: Part 2

Lorna Mitchell' Blog: PHP OAuth Provider: Access Tokens


Community Events





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


podcast voicesoftheelephpant composer library version package opinion series update introduction laravel security language community framework symfony release interview tool install

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