IMAP function library: Imap_search

Source: Internet
Author: User
Keywords Imap_search imap function Library php Chinese function manual
Tags aliyun array configuration configured content date function function library

Imap_search

Search for a specified standard letter.

Syntax: array imap_search (int imap_stream, string criteria, int flags);

return value: Array

Function type: http://www.aliyun.com/zixun/aggregation/32416.html "> network system

Content Description

This letter is used to search for correspondence that meets the specified conditions. Parameter Imap_stream is an IMAP code name. The criteria for a parameter is the specified condition, and the fields are separated by spaces (space), as shown in the following table. Parameter flags is SE_UID.

Condition description All returns to all standard letters answered letters are configured \\ANSWERED the BCC "string" In the BCC column has the specified "string" in the letter unreported "date" specify "date" letters in the Body "string" within the text Letter in paragraph with specified "string" a letter with the specified "string" in CC "string" CC bar DELETED correspondence with deleted letters flagged letters have configuration \\FLAGGED flag from "string" from column has the specified "string" Letter K Eyword the "string" keyword for the specified "string" person new letter old letter on "date" specified "date" Letter recent letter has configuration \\RECENT marker dots Letter has configuration \\SEEN marker SINCE "Date" Specifies the letter after date SUBJECT the "string" SUBJECT column has a letter with the specified "string" in the text "string" There is a letter to the specified "string" in the text column with the specified "string" Letter to the "string" to bar Unanswe RED Unanswered Letters undeleted messages unflagged not configured flags Unkeyword letters with "string" Not configured for critical "strings" unseen unread letters

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.