help with imap functions

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • greg brant

    help with imap functions

    imap_fetchstruc ture -- Read the structure of a particular message

    a query about this function.....
    (from php manual)
    Description
    object imap_fetchstruc ture ( resource imap_stream, int msg_number [, int
    options])


    This function fetches all the structured information for a given message.
    The optional flags parameter only has a single option, FT_UID, which tells
    the function to treat the msg_number argument as a UID. The returned object
    includes the envelope, internal date, size, flags and body structure along
    with a similar object for each mime attachement. The structure of the
    returned objects is as follows:



    so if i call imap_fetchstruc ture($imapstrea m, $msgNum, FT_UID)

    it will treat $msgNum as a messageID?? yes or no and if no then how do i get
    this to work.

    "The optional flags parameter only has a single option". to be hoonest i do
    not understand this optonal flags section.

    many thnaks

    Greg BRant


Working...