PHP Classes

Truncated message body

Recommend this page to a friend!

      PHP MIME Email Message Parser  >  All threads  >  Truncated message body  >  (Un) Subscribe thread alerts  
Subject:Truncated message body
Summary:Warning message truncated
Messages:5
Author:labo
Date:2010-06-24 12:57:49
Update:2010-09-06 07:07:44
 

  1. Truncated message body   Reply   Report abuse  
Picture of labo labo - 2010-06-24 12:57:49
Hello,

i'm trying to use the mime parser class but i have a warning with mail with attachement

Warning: truncated message body part at position 3731 line 100 column 56

i've changed the message_buffer_length but it doesn't change anything

Thank you

  2. Re: Truncated message body   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2010-06-24 20:28:12 - In reply to message 1 from labo
Can you save the message body complete with headers to a file and upload it somewhere so I can try to reproduce the problem?

  3. Re: Truncated message body   Reply   Report abuse  
Picture of labo labo - 2010-06-25 12:14:27 - In reply to message 2 from Manuel Lemos
Hello,

the problem was the imap_body function who truncated the body part

i used the imap_savebody function instead

it works great

thanks

  4. Re: Truncated message body   Reply   Report abuse  
Picture of wiryono wiryono - 2010-09-06 02:40:26 - In reply to message 3 from labo
where can i find this imap body

I got Warning: truncated message body part at position problem always even when the mail doesn't have any attachment

Can you tell me more

Thank you

  5. Re: Truncated message body   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2010-09-06 07:07:44 - In reply to message 4 from wiryono
Did you try imap_savebody?

php.net/imap_savebody