Questions tagged [sendgrid-ruby]
The sendgrid-ruby tag has no usage guidance.
sendgrid-ruby
21
questions
0
votes
0
answers
139
views
SendGrid dynamic templates won't use dynamic data when sending multiple emails
I have a Ruby setup for sending out emails using Sendgrid dynamic templates - all works fine except each email has the same first_name content, rather than each email having the correct one (have ...
2
votes
0
answers
231
views
Sendgrid email subject is missing
I'm working with Ruby on Rails and trying to send emails for my application via sendgrid. I'm using sendgrid-ruby version 6.6.2. Everthing working fine and all the personalizations are being added ...
0
votes
1
answer
355
views
SendGrid marketing API workflow
My app requires ability to subscribe and unsubscribe customers to marketing emails using SendGrid's Contacts API. Customers can also be subscribed\unsubscribed from outside the app so I need to keep ...
1
vote
1
answer
389
views
Add CC in reply sendgrid
I am sending an email from my desktop application using sendgrid. I can add cc when I am sending email.
But when user clicks on reply it will only send email to 'To' address automatically.
CC & ...
1
vote
1
answer
172
views
Getting duplicate emails from contact form in rails/react app
I added a contact form to my rails/react app using Sendgrid. Everything is working, but I'm getting 3-5 emails every time something is submitted through the contact form. Some of them are missing the ...
2
votes
1
answer
772
views
Sending emails from different domains
We are currently running our ruby on rails application with SendGrid for sending emails. We have authenticated two subdomains in our SendGrid account:
test1.mydomain.com
test2.mydomain.com
Currently ...
2
votes
0
answers
224
views
Can we use SendGrid Template with ActionMailer in Ruby on Rails Application?
I want to use SendGrid Template which I developed on SendGrid with ActionMailer instead of using app/views/test_mailer/test.html.erb in one of our Ruby on Rails Application. How can I do it?
Any ...
2
votes
0
answers
375
views
How to solve SMTPAuthentication error / Ruby on Rails app, Devise, SendGrid hosted on Heroku
Good day guys, I am working on a rails application that uses devise to send confirmation emails to registered users. The app properly responds on the development environment and the mails can be ...
0
votes
0
answers
53
views
Best practices for using SendGrid's v3 API?
I'm using the v3 API to send confirmation emails to my new users. All of the emails appear to be sending BUT over half of the emails don't contain the dynamically-inserted confirmation URL that I send ...
1
vote
1
answer
2k
views
Syntax error, unexpected tLABEL, expecting ')' (SyntaxError)
Environment
Ruby [1.9.3p547]
Rails [3.2.22.5]
sendgrid-ruby [4.0.8]
I used sendgrid-ruby gem in my application whenever I run rails server it's giving me below error which comes from gems/sendgrid-...
1
vote
1
answer
243
views
How to set a category in Sendgrid-Ruby v3?
Upgrading to SendGrid-Ruby V3 from V2.
In the past we set a category via
header = Smtpapi::Header.new
header.add_category("Congrats Credit")
I have searched the documentation for setting a ...
10
votes
2
answers
11k
views
Encoding for special characters not working in email subject for sendgrid templates
I have been using the sendgrid-ruby gem for sending emails. The subject of the email doesn't decode special characters properly.
Eg. Sending this subject for the email How's it going translates to ...
3
votes
1
answer
2k
views
Add attachment to email with SendGrid using rails
I've created a hello_world method which sends an email with Sendgrid. I am trying to include an attachment. I've found the following line in another stackoverflow answer: mail.attachments['test.txt'] =...
0
votes
1
answer
159
views
Issues with getting sendgrid-ruby library to run as ruby script
I am trying to get the sendgrid-ruby library to send an email, and I have managed to write a script that I can run line by line and get to work. However, when I try to run the script as a whole, I get ...
0
votes
1
answer
926
views
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\" <[email protected]>", to: "[email protected]", subject: "subject", body: "<...