Reply to Re: Accessing POP3 Mail in PHP

Your name:

Reply:


Posted by Steve on 09/19/07 03:08

"Harold Philips" <haroldphilips@adcl.biz> wrote in message
news:46f08535$0$16274$88260bb3@free.teranews.com...
>
> "Steve" <no.one@example.com> wrote in message
> news:I70Ii.560$W76.373@newsfe12.lga...
>>
>> "Harold Philips" <haroldphilips@adcl.biz> wrote in message
>> news:46f06963$0$16321$88260bb3@free.teranews.com...
>>> Hello Everyone,
>>>
>>> Does anyone know of an easy way to access the body of an email in PHP?
>>> I have a box with a bunch of one line email in it. All I need to
>>> retreive is the senders email address and the body. Can anyone help?
>>>
>>> Thanks,
>>> Harold
>>>
>>>
>>> --
>>> Posted via a free Usenet account from http://www.teranews.com
>>
>> if you look at the rfc for email, you'll find out what the tags are.
>> parse those for their respective values. the body is, by rfc, is
>> seperated from the header by two new line characters...and is the last
>> portion of the email. if you don't like reading the rfc, save an email as
>> a text file. open the text file in a text editor. look for the tags you
>> expect to parse...then create the code to do your parsing.
>>
>> that is the 'easy' way...but far from an 'easy button'. ;^)
>
> Thank you for the reply. Definately not the "easy" button but a lot closer
> to it than I was.

are you comfortable with parsing?

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация