I’ve been trying to fix a problem my international customers have been experiencing with the “create tasks from e-mails” feature in the current versions of Tasks Pro™ and Tasks. I think I’ve got it working properly now, though tangental bugs from other encoding types wouldn’t exactly shock me.
What does surprise me is that the built-in mail handling functions in PHP aren’t that easy to use1. The examples and contributed notes allow you to hack your way to working code, but PHP’s philosophy of making difficult things easily accessible hasn’t been employed here (yet).
Note to self: dig into the available information on PHP 6 and see if this is on the roadmap.
- Nor does there seem to be a ubiquitous, liberally licensed class for “reading” e-mails. [back]
This post is part of the project: Tasks Pro™. View the project timeline for more context on this post.
Have you looked at the PEAR::Mail_Mime package?
The Mail_IMAP is the appropriate PEAR package here I think.
It’s definitely better than the built-in functions, but it isn’t what I would call “easy”.
The Zend Framework is working on a few mail reading classes. They’ve got POP and MBOX implemented as backends and a fairly decent (though basic) set of classes to read and parse mail messages. This is still in the oven, but might be good down the road.
[…] – I struggle with Quoted Printable e-mails and release the first beta of Tasks Pro™ 1.7 and Tasks 2.7. I lose DSL connectivity for a few […]