By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
437,949 Members | 1,838 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 437,949 IT Pros & Developers. It's quick & easy.

Extract Body from Email

P: n/a
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

Apr 26 '07 #1
Share this Question
Share on Google+
3 Replies


P: n/a
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.

Apr 26 '07 #2

P: n/a
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.
Apr 26 '07 #3

P: n/a
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/
Apr 27 '07 #4

This discussion thread is closed

Replies have been disabled for this discussion.