Questions related to SendGrid's templating engine, it's usage, API, etc. Also includes transactional templates.
Questions tagged [sendgrid-templates]
155 questions
0
votes
1 answer
Asp.net Core 2.2 SendGrid Dynamic Template Integration
I recently added SendGrid to my ASP.net Core 2.2 MVC project. In order to make the automated account confirmation and password reset emails more professional I've tried to implement the dynamic templates. Email was working fine before, but as soon…

Jeff
- 1
0
votes
0 answers
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 along in the request.
I'm not sure where to…

Paul Singh
- 9
- 1
0
votes
1 answer
sending email through firebase triggers using sendgrid
I am sending email to user using onCreate trigger in firebase.I am using sendgrid templates for sending emails. when a new document is created in the firestore it should trigger the email to the user.
const functions =…

crypto S.
- 191
- 4
- 9
0
votes
1 answer
C# client how to pass subsititution variables to sendgrid marketing template?
There is a pre-defined marketing template, and the relevant part of the template looks like this:
Hi [%first_name | Dear Fan%], xxxxxx
There are so many different syntax for sendgrid template variable substitution out there, it's just very…

Allen Zhang
- 2,432
- 2
- 20
- 31
0
votes
1 answer
Sending email when we have an API? Sendgrid
Im trying to send an email with php using sendgrid and I'm not able to do it
I'm using this code
0
votes
2 answers
Bad Request when using Substitutions with the SendGrid API v3 via the Python API Wrapper
I created a nice template via the SendGrid UI and am encountering issues trying to send emails with it via the sendgrid python API wrapper (v5.4.1). I've got the template id for a template that has the following (truncated) text:
Hello,…

David Hagan
- 1,156
- 12
- 23
0
votes
1 answer
How to send templated email via SendGrid API v3?
In their docs SendGrid describes a structure to be sent to API:
{ "to": // list of emails
"sub": // list of substitutions
"filters": // template ID here
}
But how exactly should it be used together with the mail send structure?
{…

Pavel Vlasov
- 4,206
- 6
- 41
- 54
0
votes
2 answers
My template emails always send as plain text not HTML
I'm new to SendGrid and I'm trying to work out why the emails are always sent as plain text instead of the designed HTML transactional template I've made. If I use the sendgrid "preview/test" feature to send myself the email, it comes through…

poncho
- 1,100
- 2
- 15
- 38
0
votes
1 answer
SendGrid email template style not applying
I'm using SendGrid PHP API to send Newsletter but when I use the template ID, the mail sended doesn't contain the CSS & image.
Here is my code :

user1269586
- 372
- 1
- 6
- 27
-1
votes
1 answer
Sendgrid Template CSS Doesn't Load in Gmail
I am writing an HTML template with CSS for an email.
The stylesheet is on our server in AWS and is linked inline.
What is the solution to linking the CSS stylesheet so it displays correctly. when emails are sent.
how it looks on sendgrid
how it…

EcomRolodex
- 1
- 1
-1
votes
1 answer
send email using SendGrid hung c#
i try to send email using sendgrid api, here is my code:
using SendGrid;
using SendGrid.Helpers.Mail;
public static string Send(
string APIKey,
string Message,
string SenderEmail,
List…

Fath Bakri
- 161
- 1
- 12
-1
votes
1 answer
When making my html emails do I have to inline my CSS?
Please help. thanks.
idk icl because I see other people internally creating their css and i thought that wasnt optimal

Perry Kwarteng
- 1
- 1
-1
votes
1 answer
How to use google fonts in sendgrid?
In sendgrid I can see the preview of the fonts in the correct way but when I send a test email, Google Fonts not working as the way it should be.
I tried several ways but non of them worked.

zacknight95
- 51
- 1
- 9
-1
votes
1 answer
How to keep css in html emails designed by SendGrid
i am getting an issue when design email template in the SendGrid.
I used css inline, i want to subText max 3 line.enter image description here
Look good in the design, but when received email, 3 properties -webkit auto removed enter image…
-1
votes
1 answer
Send Grid API in Node.js
I am trying to get the contact list and check if the email recipient opened the email or not.
I found this code and tried but got 401.
import config from "@server/config"
sgClient.setApiKey(config.sendgridKey)
const headers = {
"on-behalf-of":…

RM-Digit
- 94
- 8