sendgrid v1.4.0 SendGrid.Contacts.Recipients
Module to interact with modifying contacts.
See SendGrid’s Contact API Docs for more detail.
Summary
Functions
Adds a contact to the contacts list available in Marketing Campaigns. At a minimum, an email address must provided. Additionaly, costom fields that have already been created can added as well
Functions
Adds a contact to the contacts list available in Marketing Campaigns. At a minimum, an email address must provided. Additionaly, costom fields that have already been created can added as well.
{:ok, recipient_id} = add("test@example.com", %{ "name" => "John Doe" })
{:ok, recipient_id} = add("test@example.com")