IMAP Protocol Overview

IMAP Vuser script functions record the Internet Mail Application Protocol.

Each IMAP function begins with an imap prefix. For detailed syntax information on these functions, see the Function Reference.

In the following example, the imap_create function creates several new mailboxes: Products, Solutions, and FAQs.

Actions()
{
    imap_logon("ImapLogon",
            "URL=imap://johnd:letmein@exchange.mycompany.com",
            LAST);
    imap_create("CreateMailboxes",
            "Mailbox=Products",
            "Mailbox=Solutions",
            "Mailbox=FAQs",
            LAST);
    imap_logout();
    return 1;
}

When recording a login step in which an IP address was specified, the script saves the IP address instead of the host name.

Note: VuGen currently only supports the IMAP LOGIN authentication method, but not the AUTHENTICATE method.

Back to top