InternetAddressMailbox

InternetAddressMailbox — rfc822 'mailbox' address

Synopsis

                    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);

Object Hierarchy

  GObject
   +----InternetAddress
         +----InternetAddressMailbox

Description

An InternetAddressMailbox represents what is a typical "email address".

Details

InternetAddressMailbox

typedef struct _InternetAddressMailbox InternetAddressMailbox;

An RFC 2822 Mailbox address.


internet_address_mailbox_new ()

InternetAddress*    internet_address_mailbox_new        (const char *name,
                                                         const char *addr);

Creates a new InternetAddress object with name name and address addr.

name :

person's name

addr :

person's address

Returns :

a new InternetAddressMailbox object.

internet_address_mailbox_get_addr ()

const char*         internet_address_mailbox_get_addr   (InternetAddressMailbox *mailbox);

Gets the addr-spec of the internet address mailbox.

mailbox :

a InternetAddressMailbox

Returns :

the address of the mailbox.

internet_address_mailbox_set_addr ()

void                internet_address_mailbox_set_addr   (InternetAddressMailbox *mailbox,
                                                         const char *addr);

Set the mailbox address.

mailbox :

a InternetAddressMailbox

addr :

contact's email address

See Also

InternetAddress