This is a discussion on Extract Body from Email within the PHP Language forums, part of the PHP Programming Forums category; Hi, Is there a way to extract just the text part of an IMAP email body without all the gumf ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
UKuser wrote:
> Is there a way to extract just the text part of an IMAP email body > without all the gumf at the top? i.e. - the main message part of the > email. Look for \n\n . -- ---------------------------------- Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org- Today is the first day of the rest of the mess. |
|
|||
|
UKuser wrote:
> Hi, > > Is there a way to extract just the text part of an IMAP email body > without all the gumf at the top? i.e. - the main message part of the > email. > > Thanks > > A > Take a look at PEAR::Mail_Mime. -- Bruno Barberi Gnecco <brunobg_at_users.sourceforge.net> Rainy days and automatic weapons always get me down. |
|
|||
|
Hello,
on 04/26/2007 10:36 AM UKuser said the following: > Hi, > > Is there a way to extract just the text part of an IMAP email body > without all the gumf at the top? i.e. - the main message part of the > email. You may want to try this mail parser class. It can split even complex message body parts. http://www.phpclasses.org/mimeparser -- Regards, Manuel Lemos Metastorage - Data object relational mapping layer generator http://www.metastorage.net/ PHP Classes - Free ready to use OOP components written in PHP http://www.phpclasses.org/ |