Example: imap_get_attribute_sz_exInternet Messaging Functions (IMAP)

Obtains a IMAP string attribute for a specific session.

char *imap_get_attribute_sz_ex( IMAP *ppimap, char *attribute );
ppimap A session identifier.
attributeThe IMAP attribute to retrieve. There are currently no available attributes:

The imap_get_attribute_sz_ex function returns the value of an IMAP attribute as a string for a specific session.

This function is for use with multiple sessions. For global sessions, use the imap_get_attribute_int function, which leaves out the session identifier.

Return Values

If this function succeeds, it returns the value of the specified property. Otherwise, it returns LR_FAIL.


All arguments of this function of the type char, can be parameterized with standard parameterization.