Skip to content

Instantly share code, notes, and snippets.

@nivikumar
Created February 22, 2014 20:41
Show Gist options
  • Save nivikumar/9162121 to your computer and use it in GitHub Desktop.
Save nivikumar/9162121 to your computer and use it in GitHub Desktop.
Launching an email (POST request to *{{ API root }}/messages/emails/{{ email ID }}*)
require 'email'
email = VerticalResponse::API::Email.find(<Email ID>)
email.launch(
{
:list_ids => [ <List IDs to send email to> ]
}
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment