Re: MIME E-mail message
| From: | Richard Heyes | Date: | Thu, 15 Dec 2005 10:14:34 +0000 |
| Subject: | Re: MIME E-mail message | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-227459@lists.php.net to get a copy of this message | ||
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