| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
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.
Add this line to your application's Gemfile:
gem 'smtpapi'And then execute:
bundleOr install it yourself as:
gem install smtpapiUpdate the development environment with your SENDGRID_API_KEY, for example:
echo "export SENDGRID_API_KEY='YOUR_API_KEY'" > sendgrid.env
echo "sendgrid.env" >> .gitignore
source ./sendgrid.envheader = Smtpapi::Header.new
header.add_to('test@example.com')
print header.to_jsonWe 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 maintained and funded by Twilio SendGrid, Inc. The names and logos for smtpapi-ruby are trademarks of Twilio SendGrid, Inc.
# SupportIf you need with SendGrid, please check the Twilio SendGrid Support Help Center.
| Back | FazBrowse Home | New Git URL |