  candegrl
join:2008-12-16 Sarasota, FL
| php pear mimedecode and ms exchange
Any one have any issues with using the PEAR mimedecode with emails created from exchange?
I have a php file which takes an auto forwarder from CPanel and pipes it via stdin to a php file.
php processes it and spits out the attachments to a dir...
Works great till I turn it loose on the outside users (our clients)
I've sent stuff in plain email, and that awful html email that outlook [express] produces. No problems....
So the error I get is:
Line 80 is:
So first hunch... its not in Mime format but some other ms drivel.
If I forward it from Horde or from our office systems, processing occurs fine. :mad:
The message as much as I can post publicly, raw source:
Says MIME 1.0, but I am not seeing a boundary line etc... so I am taking this is some messed up non standard ms mime :mad:
I can only test with outlook [express] as we don't use ms for any servers only Linux. The clients are not receptive to testing, nor is asking them to use another client going to fly.
I would prefer to do this via stdin v. another php file that collects things via pop3 using the imap extension and a cron job as I found it dropped files under certain conditions which is not acceptable.
Comments? Suggestions? |