Share this page

# Example: mapi_read_next_mail_ex

In the following example, the mapi_read_next_mail_ex peeks at a sticky note message.

    // Reset mail to beginning of mailbox

        mapi_set_property_sz_ex(&mapi,"Message ID", "");

        do {
            // Peek at next mail (don't mark it as read)
            rc = mapi_read_next_mail_ex(&mapi,"NextMail",
            "Show=all",
           "Peek=True",    ]
           "Type=IPM.Note",
           LAST );
        } while (rc == LR_PASS);

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: