PHP Classes

File not readable

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  File not readable  >  (Un) Subscribe thread alerts  
Subject:File not readable
Summary:CanŽt extract second file
Messages:2
Author:Javier Navarrete
Date:2008-05-25 18:37:12
Update:2008-05-25 20:36:11
 

 


  1. File not readable   Reply   Report abuse  
Picture of Javier Navarrete Javier Navarrete - 2008-05-25 18:37:12
Hi,
Thanks again for these useful class.
Im having a problem parsing the second file attached:
Message:
The filename file:///"path"/BHP AAM 8446-8485.xls is not readable
If i placed this file alone, its parsed well.
IŽll apreciate your help.

Thanks in advance.

  2. Re: File not readable   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2008-05-25 20:36:11 - In reply to message 1 from Javier Navarrete
You seem to be checking the FileName entry which is the original file name in the message. The class does not save the message body parts with the original message file names for security reasons.

Assuming that you used the SaveBody parameter, if you are using the output of the Decode function, you should use the BodyFile entry. If you are using the output of the Analyze function, you should use the DataFile parameter.