News Feed
Jobs Feed
Sections




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

Eran Galperin's Blog:
Handling mail and mime in PHP using the Zend Framework
July 18, 2008 @ 08:47:27

On the Techfounder blog (from Eran Galperin) there's a quick tutorial about using the Zend_Mail component of the Zend Framework to send both normal, plain-text emails and ones with MIME attachments.

Using PHP's built in function (aptly named mail() ) is relatively straightforward - until you need slightly more advanced features, such as adding and encoding email headers or sending multiple mails efficiently. Fortunately, the Zend Framework comes with a very capable mail component called Zend_Mail.

He shows how to send a simple email, do something a bit more complex with a custom SMTP server, read messages from a remote POP3 email box and how to attach a binary file/message.

0 comments voice your opinion now!
zendframework email zendmail mime attachment pop3 read smtp custom


blog comments powered by Disqus

Similar Posts

Zend Developer Zone: Zend Framework 1.0.4 Stable and 1.5RC1 Released

Rob Allen's Blog: Zend_Config Updates

ProDevTips.com: Writing a CMS/Community with Smarty and the Zend Framework: Part 5

Eran Galperin's Blog: On the pitfalls of date validation with the Zend Framework

John Coggeshall's Blog: Zend_Service_SlideShare approved


Community Events











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


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

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