PHP Classes

body parts

Recommend this page to a friend!

      POP3 e-mail client  >  POP3 e-mail client package blog  >  How Can PHP Read Emai...  >  All threads  >  body parts  >  (Un) Subscribe thread alerts  
Subject:body parts
Summary:skip attachments??
Messages:3
Author:inka12
Date:2009-05-20 10:09:34
Update:2009-05-21 10:27:36
 

 


  1. body parts   Reply   Report abuse  
inka12 - 2009-05-20 10:09:34
hi,
i played with your class and want to ask, if there is a possibility to skip attachments from the body to parse only the message part without images, pdfs or so.

... and thank you for this good job

greetings inka

  2. Re: body parts   Reply   Report abuse  
Manuel Lemos - 2009-05-21 08:50:10 - In reply to message 1 from inka12
Right now, there is no way to do that. Anyway, other people asked for that feature. I will add it to my to do list. Hang on.

  3. Re: body parts   Reply   Report abuse  
inka12 - 2009-05-21 10:26:44 - In reply to message 2 from Manuel Lemos
thank you
so for now this fits my needs

if(strpos($response,"Content-Transfer-Encoding: base64")!==false) {$skip=true; }
if ($skip==false) {$body[$line]=$response;}

instead of $body[$line]=$response;

bye inka

 

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