News Feed
Sections




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

Syntux:
eZ components
August 14, 2006 @ 07:39:14

On his blog today, Ammar Ibrahim relays a story of how the Mail component from the eZ component frameowrk "saved the day" for a project he was working on.

A few days ago I was asked to develop a simple script for a solidarity campaign. The idea is that people send their photos as attachements to some email. The script would download all images attached and insert a record for that in the database.

I got introduced to eZ components during my last visit to Norway to attend the eZ systems conference. I decided to give it a shot, and oh boy it's just amazing, probably the cleanest and simplest API ever.

The Mail attachment provided all that he needed, and he includes the script (about 50 lines long) that he used to fetch the emails. He did have one issue with the ability to fetch a single email with the tool, but he managed to hack around it (script included as well).

0 comments voice your opinion now!
ez components save mail send photos attachments api simple clean ez components save mail send photos attachments api simple clean


blog comments powered by Disqus

Similar Posts

DevShed: Using Self-Saving Objects with Command Objects in PHP 5

Ilia Alshanetsky's Blog: mail() logging for PHP

Jeff Moore's Blog: Why is PHP Code Considered Hard to Maintain?

Tobias Schlitt's Blog: Free eZ components sessions -2-

Jason Sheet\'s Blog: Soundex implemented in PHP


Community Events

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


podcast php7 opinion framework series community voicesoftheelephpant laravel library api list video version laravel5 interview unittest introduction example release language

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