Skip to content

Instantly share code, notes, and snippets.

Created April 18, 2016 13:33
What would you like to do?
require 'sendgrid-ruby'
res = client.send( 'XXXXXXXX@XXXX.XXX', from: '', subject: 'Hello world!', text: 'Hi there!', html: '<b>Hi there!</b>'))
puts res.code
puts res.body
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment