Questions tagged [sendgrid-ruby]

20 questions
0
votes
1 answer

Send multiple emails with Sendgrid not working with X-SMTPAPI headers

I have been sending emails as follows: def send ActionMailer::Base.mail(content_type: "text/html", from: "\"name\" ", to: "email2@gmail.com", subject: "subject", body: "

Hi

" , priority: 2).deliver end And has been…
ravelinx
  • 1,557
  • 4
  • 18
  • 26
0
votes
1 answer

Rails 5 contact Me form not sending email using sendgrid via heroku

I've been following this blog post regards creating a 'contact me' form and mailer. I've got far enough that my form displays Messaged Received but I never receive an email, not in Span folder either. I have sendgrid working fine with Devise for…
Simon Cooper
  • 1,574
  • 4
  • 24
  • 53
0
votes
3 answers

How to make css available for gmail using sendgrid

I am using Sendgrid api for my rails application to send email but in gmail is not supporting the css written within head tag what should I do to make css working.
Asnad Atta
  • 3,855
  • 1
  • 32
  • 49
0
votes
0 answers

Ruby with Sinatra not loading when adding SendGrid or Mandrill

I'm building a basic Ruby app with Sinatra and SendGrid. When I try and run the file ruby app.rb the site does not load. When I remove require 'sendgrid-ruby' the app loads. Code below. app.rb require "sendgrid-ruby" require "sinatra" set…
troxwalt
  • 405
  • 4
  • 11
0
votes
1 answer

SendGrid ruby library : send context specific values in transactional emails

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…
Shiva
  • 11,485
  • 2
  • 67
  • 84
1
2