Imap_fetchstructure
Gets the structure information for a letter.
Syntax: array imap_fetchstructure (int imap_stream, int msg_number);
return value: Array
Function type: http://www.aliyun.com/zixun/aggregation/32416.html "> network system
Content Description
This function can read information about the specified letter. Parameter Imap_stream for IMAP 5643.html "> code. The parameter msg_number is the ordinal number of the letter. Returns the way the information is array, the contents of each element are shown in the following table
element name type Integer encoding Integer (Integer) Ifsubtype boolean (Boolean) subtype string (String) Ifdescription Boolean (Boolean) d Escription string (String) Ifid Boolean (Boolean) ID string (string) lines integer (integer) bytes integer (integer) Ifparameters boolean (Boolean)
Where the value of the type element represents the following
Value for meaning 0 text text 1 composite multipart 2 Info Message 3 Program Creator 4 Voice audio 5 graphics image 6 video videos 7 Other
The meaning of the encoding value is as follows
Value means 07 bit (7 bit) 18 bit (8 bit) 22 Carry (binary) 3 BASE64 encoded 4 QP encoding (quotedprintable) 5 other