Sendgrid SMTP via Rails email metadata

133 Views Asked by At

When using ActionMailer mailers and having the SMTP settings as Sendgrid, is it possible to get a reference to the Sendgrid email when the mailer runs, or would it require migrating to the Sendgrid REST api?

1

There are 1 best solutions below

0
On

With ActionMailer, it isn't possible but with the gem yes:

https://github.com/sendgrid/sendgrid-ruby