Reading mime attachments into a rdbms

From: Date: Thu, 03 May 2001 07:50:28 +0000
Subject: Reading mime attachments into a rdbms
Groups: php.general 
Request: Send a blank email to php-general+get-51226@lists.php.net to get a copy of this message
Good morning, I've been trying to find out how to use IMAP to read attachments from the MIME E-Mail and save them on the filesystem and later transfer them into a RDBMS, the problem I have at the moment is that I have no clue what so ever how to do this, I've tried using imap_headerinfo and other imap_command to check if anything show up in the given ARRAY or OBJECT that will show that the mail contains an attachment. But I havn't been able to do this so far. I bet there are hundreds of you out there that probably has done that same thing that could help me and guide me to what I should look for, this is in a bit of a hurry. And since I've been trying to solve this problem myself and tried not to bother the list with this, I really do need the help now. So, if anyone could spare a few minutes of their time and give me some guidelines, I would really love it. I know that I should look for "#$message .= (Content-Disposition: attachment; filename="") in some way, but I don't know how, or where to go from there. Thanks in advance, // Mattias

« previous php.general (#51226) next »