adding mail content to mysql database
| From: | anders thoresson | Date: | Sat, 26 Apr 2003 17:38:48 +0000 |
| Subject: | adding mail content to mysql database | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-145364@lists.php.net to get a copy of this message | ||
Hi,
I want mail sent to blog@thoresson.net to get added into my mysql database. I want to use the subject, the text in the body and any attached jpegs. Mails sent to blog@thoresson.net ends up in a pop3-mailbox together with mail sent to many other addresses as well, so I've to check the TO- field as well.
I've been reading about the imap-functions in the php function list, but can't figure out which ones to use for this.
Could someone point me to a good tutorial on working with email through the imap functions of php?
--
anders thoresson