PHP Classes

.mbox - Extract All attachments

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  .mbox - Extract All attachments  >  (Un) Subscribe thread alerts  
Subject:.mbox - Extract All attachments
Summary:Looking for docs
Messages:3
Author:Larry
Date:2020-04-04 02:03:11
 

 


  1. .mbox - Extract All attachments   Reply   Report abuse  
Larry - 2020-04-04 02:03:11
Hello there,

Looks like this class is my dream come true; but I don't see any documentation about how to extract all attachments from (example) all.mbox to a folder and get all attachments saved with their original name.

Any easy example?

  2. Re: .mbox - Extract All attachments   Reply   Report abuse  
Larry - 2020-04-04 02:26:54 - In reply to message 1 from Larry
I tried this with no success

/opt/plesk/php/7.1/bin/php test_message_decoder.php all.mbox
MIME message decoding error: unexpected decoded message part type MessageStart in state 5 at position -1

I set 1 to mbox option on test file.

Any idea?

  3. Re: .mbox - Extract All attachments   Reply   Report abuse  
Manuel Lemos - 2020-05-16 01:59:30 - In reply to message 2 from Larry
Sorry for the delay. I don't know if this is still useful.

Can you upload a sample message file to somewhere I can download and post a link here so I can try to reproduce the problem?

 

For more information send a message to info at phpclasses dot org.