This ruby gem allows you to quickly and more easily generate SendGrid X-SMTPAPI headers.
All updates to this library is documented in our CHANGELOG.
- Ruby version 2.2
- The SendGrid service, starting at the free level
Add this line to your application's Gemfile:
gem 'smtpapi'
And then execute:
bundle
Or install it yourself as:
gem install smtpapi
header = Smtpapi::Header.new
header.add_to('test@example.com')
print header.to_json
If you are interested in the future direction of this project, please take a look at our milestones. We would love to hear your feedback.
We encourage contribution to our libraries, please see our CONTRIBUTING guide for details.
Quick links:
This library was created by Wataru Sato and is now maintained by SendGrid.
smtpapi-ruby is guided and supported by the SendGrid Developer Experience Team.
smtpapi-ruby is maintained and funded by SendGrid, Inc. The names and logos for smtpapi-ruby are trademarks of SendGrid, Inc.