Re: mail() to mySQL database
| From: | Jason Brooke | Date: | Mon, 31 Jul 2000 15:18:59 +0000 |
| Subject: | Re: mail() to mySQL database | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-9174@lists.php.net to get a copy of this message | ||
> Let's say we have a POP3 account and we're having
> emails coming in onto the account, how can we transfer
> details including the message of the emails into a
> mySQl database? Can it be done?
by opening a socket to the pop3 server and sending some basic commands like
user, pass, list, retr, dele, that you'll find in the pop3 rfc - and then
writing the returned data to mysql via sql statements
jason