note 15371 added to function.imap-header
| From: | jwilson at ecominteractive dot net | Date: | Fri, 07 Sep 2001 00:20:41 +0000 |
| Subject: | note 15371 added to function.imap-header | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-17748@lists.php.net to get a copy of this message | ||
It is explained else where on the site but something I struggled with.
To find the size of a message use:
$sizefeed1 = imap_fetchstructure($feed,$messagenumber);
$sizefeed2 = $sizefeed1->bytes;
$size = "$sizefeed2 bytes";
http://www.php.net/manual/en/function.imap-header.php