Oli Howson wrote:
I'm working on a private webmail (and other) system, and am struggling a
little with MIME mails. I've got a script to save all the attachments, but
the thing I can't figure out is how I decide which "part" is the main email
message itself (and hence which to display).
Oh and cheers for the info someone gave me the other day, it inspired me to
just connect to the pop3 server using a raw socket, SOOOOO much easier!!!
Than what? The imap extension is faster and has parsing functionality
built in.
Also there's a PEAR Net_POP3 library if you insist on using sockets
which handles lots of menial tasks for you.
--
Richard Heyes
http://www.phpguru.org
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php