Questions related to SendGrid's templating engine, it's usage, API, etc. Also includes transactional templates.
Questions tagged [sendgrid-templates]
155 questions
3
votes
1 answer
Send mail via SendGrid to Outlook was always failing
I am a newbie in using SendGrid. I have a web application that send a mail to users after the successful registration. I am using send grid to send mails.
It works fine when I try to send Google email accounts. But when I send mails to Outlook email…

Ragesh P Raju
- 3,879
- 14
- 101
- 136
3
votes
3 answers
Retrieving SendGrid Transactional Templates List
I have been trying to retrieve list of SendGrid transactional templates using API. I'm using correct API key and getting an empty array while there are about 5 transactional templates existing in my SendGrid account. Here is the response:
{
…

Manoj Goel
- 2,034
- 4
- 12
- 24
3
votes
2 answers
How does one migrate all transactional templates from one SendGrid account to another?
Given a large library of SendGrid templates, how does one move them to a different SendGrid account in one click, say for a test environment?

rothschild86
- 1,433
- 16
- 22
3
votes
1 answer
SendGrid Templates with Web API vs. SMTP API
I have gone through various documentation of SendGrid Implementation. Actually, I want to use Email Templates defined in the SendGrid.
I only found that we can use Email Templates and can use substitution tags in it if we are implementing SendGrid…

Kapil Kaushik
- 69
- 9
2
votes
1 answer
How do I create an email preview for SendGrid dynamic template Ruby on Rails
I'm new to using SendGrid with Ruby on Rails. I'm using SendGrid's dynamic template and the sendgrid_actionmailer gem to send emails.
I cannot figure out a way to show previews for these emails (dynamic templates).
In my development.rb file
if…

ssh
- 41
- 6
2
votes
2 answers
SendGrid API Dynamic - can't get Unsubscribe to work
I just set-up a dynamic email with sendgrid and am using the API to fill it out based on my customer data.
I've gotten everything to work except the unsubscribe part.
I have an unsubscribe block at the bottom of my email. In the code editor, the…

bmceuen
- 21
- 2
2
votes
1 answer
SendGrid Dynamic Email Template won't pass data from .NET
I'm trying to use SendGrid's API to send Data to a Dynamic Template, and send that email to a customer. However, the email sends, but the data is never passed. Can anyone tell me what's wrong in my code? I don't see where my error is. I'm using C#…

Noname
- 21
- 2
2
votes
1 answer
Sendgrid complex data into dynamic template data in java
I am using the latest version of send grid,
my mustache template is working fine on local.
I have created a dynamic template on send grid,
now I need to send a complex object as input data in the template.
for example

shrikant.sharma
- 203
- 1
- 17
- 37
2
votes
0 answers
Sendgrid unsubscribe link is not clickable?
I am using unsubscribe group to send email using dynamic template but the link isnt clickable
dynamic_template_data = {
"asmGroupUnsubscribeUrl": "<%asm_group_unsubscribe_url%>",
}
I have used the dynamic…

Luff li
- 123
- 2
- 11
2
votes
0 answers
Sendgrid Unsubscribe groups custom Landing page
I'm using Sendgrid and I want to use unsubscription groups to group emails by topic and allow unsubscription from specific topic.
Everything works fine, but it seems that it is not possible to configure a custom landing page when using unsubscribe…

jesper
- 21
- 2
2
votes
2 answers
Sendgrid - add email attachments via dynamic templates
I am using Sendgrid API v3 in a node.js and express environment.
I am using email dynamic templates and easily I can send custom text to the email templates.
But I need also to add attachments and I can't find documentation about that. I need to add…

Pikk
- 2,343
- 6
- 25
- 41
2
votes
1 answer
How to get dynamic template data from sendgrid api
I'm using Sendgrid API to get the list of all dynamic templates. I was a bit surprised when I saw that the API response doesn't contain any info about the dynamic template data.
Is there a way to get the dynamic template data from sendgrid API…

Ghassen Chaar
- 21
- 4
2
votes
0 answers
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 suggestions

Chetan Tete
- 21
- 1
2
votes
0 answers
How to send a dynamic template email to a mailing list on Sendgrid
I have a newsletter I'd like to send every other week to the same list of users. I have a link for new users to sign up, and I'd like to let users unsubscribe at the bottom of the bi-weekly email.
Is there a way to send to a mailing list instead of…

Sam Feder
- 53
- 7
2
votes
2 answers
Variable substitution in SendGrid templates with Nodejs does not work
Following the USE CASE on SendGrids github does manage to send me the e-mail with the correct template, but the substitutions does apparently not work, and is left blank in the resulting e-mail. Server side:
const sgmailer =…

emilal
- 132
- 2
- 14