note 25368 added to function.imap-fetchstructure

From: Date: Fri, 20 Sep 2002 18:16:28 +0000
Subject: note 25368 added to function.imap-fetchstructure
Groups: php.notes 
Request: Send a blank email to php-notes+get-37063@lists.php.net to get a copy of this message
I think the above note about attachments is wrong. I tested sending files with and without attachments and I get the following<br> with attachment: type=3 bytes=343648 no attachment: type=0 bytes=2 so checking for $struct->bytes == " " means nothing. At least in my test running windows 2000, php4.2.1 using outlook and exchange. It seems that cheking the type will be more reliable -- http://www.php.net/manual/en/function.imap-fetchstructure.php http://master.php.net/manage/user-notes.php?action=edit+25368 http://master.php.net/manage/user-notes.php?action=delete+25368 http://master.php.net/manage/user-notes.php?action=reject+25368

« previous php.notes (#37063) next »