News Feed
Sections




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

Derick Rethans' Blog:
Parsing Mail with PHP
April 04, 2006 @ 06:48:58

If you've ever wanted to be able to send an email to an account and have PHP pick it up and parse it, this new post from Derick Rethans is exactly what you're looking for. It's based around the alpha release of a Mail component PEAR package, part of the eZ family.

Many PHP applications require to parse e-mail messages. For example bug systems and ticket systems that want to allow input by e-mail. For sending e-mail there are already decent implementations, ones that even allow sending multi-part and mixed text/html messages with attachments and so on.

He gives an example of how the component can be used to grab the mail from a remote POP3 server and display the parsed results with a few echo statements. Getting different values in the mail messages is made simple and is as easy as using structures like "$mail->to->email" or "$mail->body" to reference the content you want.

0 comments voice your opinion now!
parse mail ez component pear package alpha parse mail ez component pear package alpha


blog comments powered by Disqus

Similar Posts

Padraic Brady's Blog: Zend Framework Proposal: Zend\Html\Filter (HTML Sanitisation And Manipulation)

Greg Beaver\'s Blog: Why it is very important to upgrade to PEAR 1.4.6 from PEAR 1.3.x

Derick Rethans\' Blog: Parsing Mail with PHP

William Candillon\'s Blog: Using XML Representations of a PHP parse Tree

Dayle Rees: Composer primer


Community Events





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


podcast framework conference symfony series voicesoftheelephpant api deployment laravel code release bugfix tips list interview community zendserver introduction language threedevsandamaybe

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