note 24972 deleted from function.imap-fetchstructure by didou

From: Date: Tue, 02 Dec 2003 08:55:36 +0000
Subject: note 24972 deleted from function.imap-fetchstructure by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-61258@lists.php.net to get a copy of this message
Note Submitter: white@bomberman.dk ---- > $msg_structure = imap_fetchstructure($mail_inbox, $msg_id); > if($msg_structure->bytes == "") > Please, test this code and let me know is it > working properly or not! Thanks in advance Basically it works, but some mailers send in 'alternative'-mode, and therefore > if($msg_structure->bytes == "" && $msg_structure->subtype != > "ALTERNATIVE") works somewhat better to check for attachments....

« previous php.notes (#61258) next »