PHP Classes

Not Saving Files

Recommend this page to a friend!

      Read POP3/IMAP attachment  >  All threads  >  Not Saving Files  >  (Un) Subscribe thread alerts  
Subject:Not Saving Files
Summary:I am able to run the script with no errors - no attachmants
Messages:3
Author:Jason Ferezy
Date:2011-03-07 14:19:37
Update:2011-05-04 23:29:40
 

  1. Not Saving Files   Reply   Report abuse  
Picture of Jason Ferezy Jason Ferezy - 2011-03-07 14:19:37
Hello,

I am able to run the script using either imap or pop3 - I get now errors for login or any imap php errors. If I delete the messages - they delete off the server. My problem is that the attachments are not saving in any folders that I have set up. I gave ALL write accress to the folders that need permissions. I have tried different types of attachments. Am I missing something - possible in PHP config?

I am running php 5.2.17 with '--with-imap' '--with-imap-ssl'

Any help would be greatly appreciated.

Jason

  2. Re: Not Saving Files   Reply   Report abuse  
Picture of Nikki Bisel Nikki Bisel - 2011-05-04 22:40:23 - In reply to message 1 from Jason Ferezy
Same problem here. The script is accessing the imap account but I'm not seeing the attachment being saved.

  3. Re: Not Saving Files   Reply   Report abuse  
Picture of Nikki Bisel Nikki Bisel - 2011-05-04 23:29:40 - In reply to message 2 from Nikki Bisel
Figured mine out - I had edited the function to rename the file every time it ran. I had the filename set to = "filename.csv" when it needed to be = "filename" . ".csv"

Not sure if that'll help with your problem at all but it solved it for me.