We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
From API docs, there is support for headers.
headers
My scenario required me to have both X-SMTPAPI's unique_args header, and Non-X-SMTPAPI custom header.
I could not find any way to add Non-X-SMTPAPI headers from either README.md nor from the source code, because there is no attr_accessor :headers
attr_accessor :headers
From what I understand, this will entail merging both Sendgrid::Mail @smtpapi and @headers in the source code.
Sendgrid::Mail
@smtpapi
@headers
The text was updated successfully, but these errors were encountered:
Hello @jrpolidario,
This is no longer an issue in the new version of this library, which comes out of beta in a few weeks. You can check it out here: https://github.com/sendgrid/sendgrid-ruby/tree/v3beta
The new version uses the v3 /mail/send endpoint: https://sendgrid.com/docs/API_Reference/Web_API_v3/Mail/index.html which includes the X-SMTPAPI settings and the new library supports the addition of your own custom headings.
Thanks for your support!
With Best Regards,
Elmer
Sorry, something went wrong.
Merge pull request sendgrid#43 from fifiteen82726/feature/add-codecli…
749a784
…mate Add .codeclimate.yml
No branches or pull requests
From API docs, there is support for
headers
.My scenario required me to have both X-SMTPAPI's unique_args header, and Non-X-SMTPAPI custom header.
I could not find any way to add Non-X-SMTPAPI headers from either README.md nor from the source code, because there is no
attr_accessor :headers
From what I understand, this will entail merging both
Sendgrid::Mail
@smtpapi
and@headers
in the source code.The text was updated successfully, but these errors were encountered: