IMAP function library: imap_fetchstructure

Source: Internet
Author: User
Keywords Imap_fetchstructure imap function Library php Chinese function manual
Tags aliyun array content function function library html http imap function library

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.