Sun Java System Messaging Server 6 2005Q4 MTA Developer's Reference

Arguments

Arguments  

Description  

adr_ctx

An address context created by a previous call to mtaAddressParse().

address_index

Index of the address to retrieve. It is an index into a list of addresses. The first address has an index of 0. 

address

Pointer to receive the selected address (a pointer to a buffer within the address context). The address will be NULL terminated. A NULL may be passed for this call argument if you do not wish to receive the pointer. 

address_len

The length in bytes of the selected address, not including any NULL terminator. NULL may be passed for this call argument if you do not wish to receive the length. 

elements

A bitmask indicating which RFC 822 mailbox elements of the address to return, such as phrase, route, local-part, or domain. Any combination of these elements may be returned.