Skip to content

Instantly share code, notes, and snippets.

@yamano yamano/sendgrid.rb

Created Apr 18, 2016
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
You can’t perform that action at this time.