add_email_address


Description:

public void add_email_address (GDEmailAddress email_address)

Adds an e-mail address to the contact's list of e-mail addresses and increments its reference count.

Note that only one e-mail address per contact may be marked as "primary". Insertion and update operations (with insert_contact) will return an error if more than one e-mail address is marked as primary.

Duplicate e-mail addresses will not be added to the list.

Parameters:

this

a ContactsContact

email_address

a GDEmailAddress to add