Get the part_number of mail attachements?

From: Date: Tue, 11 Jun 2002 17:58:16 +0000
Subject: Get the part_number of mail attachements?
Groups: php.general 
Request: Send a blank email to php-general+get-101587@lists.php.net to get a copy of this message
Hi, I have to parse some mails into our DB. The important part of the mails are in the text attachements. I'm afraid I don't understand how can I get the number of attachements for the particular mail. I would use imap_fetchbody ( int imap_stream, int msg_number, string part_number [, flags flags]) to get the data, but I can't use any loop while I don't know the exact number of attachements in the mail. Could you advice any simple solution? Thanks in advance! Regards; Istvan

« previous php.general (#101587) next »