sendgrid icon indicating copy to clipboard operation
sendgrid copied to clipboard

Adds ActionMailer settings to easily integrate with SendGrid.

Results 15 sendgrid issues
Sort by recently updated
recently updated
newest added

This PR includes the `batch_id` header, similar to `send_at`

Adding `#sendgrid_asm_group_id` to add `asm_group_id` in SendGrid header for unsubscribe groups

Added support for sendgrid template engine by allowing us to enable it and adding a function to set the template_id. Remove redundant json dependency from gemspec.

Then you can have: class AdminMailer < ActionMailer::Base include SendGrid sendgrid_disable :subscriptiontrack def this_has_subscriptiontrack_disabled ; end def this_has_subscriptiontrack_disabled_too ; end def this_has_subscriptiontrack_enabled sendgrid_enable :subscriptiontrack end end

According to [Sendgrid's SMTP API documentation]( https://sendgrid.com/docs/API_Reference/SMTP_API/using_the_smtp_api.html # -Requirements-and-Limitations), all lines in a header must be under 1,000 characters. By using [`JSON.pretty_generate`](http://flori.github.io/json/doc/classes/JSON.html#method-i-pretty_generate), arrays (e.g. multiple recipients and substitutions) will be...

Getting a warning from Bundler otherwise ``` The gemspec at /home/ruy/.rvm/gems/ruby-2.3.0/bundler/gems/sendgrid-e1bdb3170968/sendgrid.gemspec is not valid. The validation error was 'duplicate dependency on json (>= 0), (>= 0) use: add_runtime_dependency 'json', '>=...