Internet Messaging Functions (IMAP) > Alphabetical List of Functions > imap_get_attribute_sz_ex

imap_get_attribute_sz_ex

Example: imap_get_attribute_sz_ex Internet 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.
attribute The 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.

Parameterization

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