Page 1 of 1

Parsing emlx mail?

Posted: Thu Jan 12, 2006 4:08 am
by MarkAshley
Hello

I am looking for a way to parse emlx mail. I have searched the forum and found that the following can be used to find information from the headers:

Code: Select all

ereg('From:.*<(.*)>',$theString,$match)
which would find the sender's address. I can easily modify this to return the subject etc. But I also want to find the content within the message and store in an array so that this can be echoed to the browser. I have tried googling but unfortunately it is difficult to find information on php with search engines, as many irrelevant pages are returned just because they are php documents.

Any help would be much appreciated.

Thanks
Mark

Posted: Thu Jan 12, 2006 5:01 am
by Weirdan
user "allintext:php" as one of the keywords in google search

Posted: Thu Jan 12, 2006 5:12 am
by MarkAshley
Hello, thanks for the tip. I still can't find anything useful. Hopefully someone will be able to offer some info here.

Cheers
Mark