Share this page

# Example: imap_set_max_param_len_ex

The following example saves the message to a parameter "Message" using the saveto parameter. imap_set_max_param_len indicates the size of the buffer to hold the message.

    imap_set_max_param_len_ex(&imap2,"16384");
    imap_fetch_ex(&imap2, "FetchMessages", "Mode=UID",
                   "Fetch=3 (UID RFC822.SIZE BODY[]<0.6144>)",
                   "saveto=Message", ENDITEM, LAST );
    lr_log_message("Message = %s", lr_eval_string("<Message>"));

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: