I am using the gem https://github.com/sendgrid/sendgrid-ruby
In SendGrid I have a transactional email template that looks like
<%body%>
Hello :name!, what's up
your number is :number.
This is the transactional footer
how to pass the variables :number
, :name
??
thanks,
Check out the section of the
README
relating to templates.Assuming that you have a user model that you want to sent the email to: