News Feed
Sections




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

Andrew Johnstone's Blog:
Emailing Attachments Exim Filters and PHP streams
June 01, 2010 @ 08:51:28

New on his blog today Andrew Johnstone has a post about email attachments how how the combination of Exim filters and PHP streams can make things much easier for you and your application.

Using exim filters we could add attachments at the delivery stage, therefore reducing overhead in constructing and injecting data into an email. The delivery of emails varied as to whether it was feasible to send as a BCC or whether there were placeholders intended for each individual recipient. As such the following addresses the worst case scenario of attachments with placeholders intended for each individual recipient.

They show how to use a PHP script (that uses streams to pull in the file data and information) hooked into an exim_filter to streamline the attachment process. Configuration file examples are included in the post as well as the PHP source for creating the filter.

0 comments voice your opinion now!
email attachment stream tutorial exim filter


blog comments powered by Disqus

Similar Posts

Gonzalo Ayuso's Blog: Using a stream wrapper to access CouchDb attachments with PHP

Steven Macintyre's Blog: Building a Modular Zend Framework CMS

SitePoint PHP Blog: Database Versioning with Ladder Migrations

Zend Developer Zone: Decorators with Zend_Form

Stoyan Stefanov's Blog: phpBB front-end optimization - 1 hour workshop


Community Events

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


release community framework library extension threedevsandamaybe voicesoftheelephpant series api language laravel5 development interview introduction feature wordpress laravel podcast opinion unittest

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