note 19296 deleted from function.imap-fetchstructure by cmb
| From: | cmb@php.net | Date: | Thu, 08 Oct 2020 14:15:25 +0000 |
| Subject: | note 19296 deleted from function.imap-fetchstructure by cmb | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-215547@lists.php.net to get a copy of this message | ||
Note Submitter: trionon at mail dot ru
----
It's better to use special constants instead of digits for primary content-type:
TYPETEXT unformatted text
TYPEMULTIPART multiple part
TYPEMESSAGE encapsulated message
TYPEAPPLICATION application data
TYPEAUDIO audio
TYPEIMAGE static image (GIF, JPEG, etc.)
TYPEVIDEO video
TYPEOTHER unknown
These constants are documented in the source code of IMAP extension but they are still undocumented
here :(