Hi,
I'm giving Manuel Lemos's Pop3 PHP class a go. I want to query a pop3 account and then store the email in a MySQL database. The bit I'm trying to do now is split the email headers into variables. I can see they are being read into an array, but I'm not up on email header information enough to know how to consitently say which one is the 'From:' line. So for example, if I just wanted the body, subject and from data, how would I extract that?
Tips, pointers much appreciated.
PHP Pop3 class - get the 'From:' header
Moderator: General Moderators
- feyd
- Neighborhood Spidermoddy
- Posts: 31559
- Joined: Mon Mar 29, 2004 3:24 pm
- Location: Bothell, Washington, USA
it may be best to ask Manuel himself, on the phpclasses boards: http://www.phpclasses.org/discuss/