Hello Dave,

On Sat, 29 Dec 2007, Dave Fischetti wrote:

> Hey all, my EZ mail parser has be running GREAT for weeks since I  
> launched it. Last night I had a VERY weird error occur. I had an email  
> come in from a user with an image attachement. The file name was that  
> appeared in the email was:
> 
> "cam_data_photo067.jpg"
> 
> but for some reason It hung the script when it was trying to parse.  
> The error I receive is something along the lines of:

[snip error]

> As you can see, it for some reason put a "/" in place of "_" so it  
> things that "cam_data" is a folder. Or so it appears. When I went and  
> looked in /tmp the folder "12174-1" was not there.

I don't think we replace / with _ - that would be weird to do, so 
perhaps somewhere in the headers there is a cam_data/photo067.jpg 
string. If you can provide the raw mail, we can check that.

> I couldnt figure out a way to stop this error so I simply created the  
> "12174-1" and "cam_data" folders and put an image called  
> 'photo067.jpg' in there. That allowed it to get past that error and  
> parse the rest of the emails.
> 
> if ANYONE has any idea why this happened, I'd really appreciate some  
> help. I'm kinda lost and would like to prevent it from happening again.

The 12174-1 directory will be removed at the end of the request, just 
like all attached files. The documentation describes that in the 
following class documentation:
http://ezcomponents.org/s/ezcMailParser

regards,
-- 
Derick Rethans
eZ components Product Manager
eZ systems | http://ez.no
-- 
Components mailing list
[email protected]
http://lists.ez.no/mailman/listinfo/components

Reply via email to