GMime 2.4 Reference Manual | ||||
---|---|---|---|---|
InternetAddressMailbox; InternetAddress* internet_address_mailbox_new (const char *name, const char *addr); const char* internet_address_mailbox_get_addr (InternetAddressMailbox *mailbox); void internet_address_mailbox_set_addr (InternetAddressMailbox *mailbox, const char *addr);
typedef struct _InternetAddressMailbox InternetAddressMailbox;
An RFC 2822 Mailbox address.
InternetAddress* internet_address_mailbox_new (const char *name, const char *addr);
Creates a new InternetAddress object with name name
and address
addr
.
|
person's name |
|
person's address |
Returns : |
a new InternetAddressMailbox object. |
const char* internet_address_mailbox_get_addr (InternetAddressMailbox *mailbox);
Gets the addr-spec of the internet address mailbox.
|
a InternetAddressMailbox |
Returns : |
the address of the mailbox. |
void internet_address_mailbox_set_addr (InternetAddressMailbox *mailbox, const char *addr);
Set the mailbox address.
|
a InternetAddressMailbox |
|
contact's email address |