Parsing emlx mail?

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
MarkAshley
Forum Commoner
Posts: 34
Joined: Fri Nov 18, 2005 1:36 am

Parsing emlx mail?

Post 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
User avatar
Weirdan
Moderator
Posts: 5978
Joined: Mon Nov 03, 2003 6:13 pm
Location: Odessa, Ukraine

Post by Weirdan »

user "allintext:php" as one of the keywords in google search
MarkAshley
Forum Commoner
Posts: 34
Joined: Fri Nov 18, 2005 1:36 am

Post 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
Post Reply