Mime Mail
| From: | Nick Poulos | Date: | Thu, 08 Dec 2005 01:18:00 +0000 |
| Subject: | Mime Mail | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-22177@lists.php.net to get a copy of this message | ||
Hello,
I am attempting to write a script that uses mimeDecode to handle MIME email
messages with image/video attachments. I have looked at countless examples
using the script, and I even found some people who seemed to be having the
same problem I am, but I hit a wall when trying to find the solution. It
seems like my foreach is not returning the correct MIME parts, or something
to that effect. For days I have looked over my code and cannot seem to find
the problem. The PEAR and imap functions are working just fine, its only
when I get to decoding the raw email that the 2nd foreach errors while
trying to loop through each part. I am using the latest version of the
package, but not the latest version of PHP.
Here is a link to my phpinfo on the server.
http://candidmobile.com/phpinfo.php
I have attached a copy of the script, to see it in action visit the link
below.
http://candidmobile.com/test.php
Any light you can shed on the subject I would greatly appreciate.
Thanks,
Nick Poulos