Questions tagged [sendgrid]
Cloud-based email infrastructure and delivery engine, with integration via SMTP and HTTP API. Also offers analytics and newsletter functionality.
3,367
questions
0
votes
0
answers
5
views
With SendGrid API V3, substitutions not working with HTML
I've got a very simple example that seems like it should work. I'm following their documentation almost exactly. Here is the simplest code I can think of and it does not substitute the email.
import ...
0
votes
0
answers
13
views
How To Download a File from Firebase Storage to Attach To a Sendgrid Email in Node.js and Firebase Functions
EDITED
I am trying to attach a file stored in Firebase Storage to an email I am sending through Sendgrid. The file sends via email but when I open the PDF all of the pages are blank. The file size and ...
0
votes
1
answer
33
views
Docker Error build during Deployment on Railway services
please I had previously deployed my Django project on Railway which worked fine. Unfortunately, when I tried to add up SendGrid mail functionality by using django-sendgrid-v5
package to help me handle ...
0
votes
0
answers
19
views
Django Sending Email: sending activation use django sendgrip
I want to send the email activation using django registration.
Below is my production settings.py
EMAIL_PORT = 587
EMAIL_USE_TLS = True
EMAIL_HOST_USER = 'apikey' #
EMAIL_HOST_PASSWORD = get_secret('...
0
votes
0
answers
23
views
Receiving Sendgrid Inbound Email webhook attachments as strings (not files)
I'm receiving multiple inbound email webhook requests from Sendgrid (a Django/DRF application on my side) with attachments that are strings rather than actual files. This results in an error when ...
0
votes
1
answer
21
views
Using Sendgrid from server with no public ip address
Our servers are located in AWS in Load Balancer and private subnet.
As recommended by a security company, the servers need to have no public IP address as it already uses Load Balancer and private ...
-1
votes
0
answers
14
views
Need to send mail through rundeck using Sendgrid
I need to send email notification in Rundeck job. So, I have added SendGrid details in rundeck-config.properties file.
But mail was not sending so that i checked rundeck log file. I was getting error ...
0
votes
1
answer
14
views
How can you get a zipfile link embedded in an email to download?
The following code creates a link that contains a zip file in a blob storage container:
public string GetPublicUrl(string containerName, string blobName, DateTime expiry, BlobSasPermissions ...
0
votes
0
answers
15
views
Question on deploying backend expressJs @sendgrid to google cloud
Problem:
I'm encountering a deployment issue with my MERN stack project on Google Cloud. The deployment consistently fails when trying to install the @sendgrid/mail package.
Error Log:
Step #2 - "...
0
votes
0
answers
117
views
Parsing raw multipart/form data with FastAPI
Context
I'd like to use FastAPI to ingest SendGrid's inbound parse webhook, which comes in as a raw multipart/form-data (see below). My code is receiving the payload, but I get a "422 ...
0
votes
0
answers
6
views
Mangled UTM campaign name
I have been sending emails with SendGrid containing links with UTM parameters.
As I test I have tried with utm_campaign=testing%20weird%20campaign%20codes (testing weird campaign codes) and I have ...
0
votes
1
answer
11
views
How to not send sms or emails when running mocha test suite
I'm running end-to-end tests with Mocha, but I do not want SMS or emails to be sent by the test suite. What is the best practice for skipping over these functions if testing, and running them when in ...
-3
votes
0
answers
41
views
Mail sending using postmark...? [closed]
I am send mail by using postmark account through c# code but it is not showing in sent mails of my mail account
I just want to display sent mails in my mail account(what I used to sent) while using ...
0
votes
2
answers
49
views
SendGrid send HTML Email using CURL and INCLUDE()
I am trying to send an HTML using CURL and SendGrid. I tried to install the SendGrid lib from GitHub and I could not figure it out to get the autoload.php correctly. I gave up on that and tried CURL. ...
-2
votes
0
answers
34
views
What's refer "the payload in the request body "?
I'm trying to implement the signature verification of SendGrid for a webhook. I don't understand a part of the code.
There is a part where I need to capture a payload, but I don't understand how to ...
0
votes
0
answers
10
views
SendGrid - .ics and .ical will not display Yes/No/Maybe for the events I create
I am using a node package (https://www.npmjs.com/package/ics) to create a .ics file in my app and sending emails via SendGrid.
When I send myself an email from the app, the generated .ics file (or ....
-1
votes
0
answers
37
views
I am getting an error when I try and run strapi after adding sendgrid as my reset password email provider in my config/plugins.js file
I created a plugins.js file my config folder and added code below to add sendgrid as my reset password email provider
module.exports = ({ env }) => ({
email: {
config: {
provider: "...
-1
votes
0
answers
42
views
SENDGRID API send email with ASP.NET Core, but failed on .NET framework---
Why does Sendgrid C# Library refuse to work with .NET framework
See sample code below;
SendGrid Version 9.28.0.0
Exception message:
An error occurred while sending the request/ The underlying ...
0
votes
0
answers
19
views
Multiple (custom) Sendgrid / Twilio templates, based on different third-party clients
We have the situation where we send a Twilio Verify SMS or email to an end-user, but this can be on behalf of various clients. We have one Twilio account servicing them all.
One client wants a custom ...
0
votes
0
answers
7
views
Convert a Teneo HTML report to PDF while maintaining the style
I've successfully created a template used by sendgrid to send an html formatted email to customer service at the end of an AI conversation. I discovered that when viewed in outlook the style elements ...
0
votes
0
answers
14
views
Can email recipients unsubscribe when I'm sending to a Google group?
I currently have an automated email that I'm sending to a google group using SendGrid. There is a user within that group that does not want to receive these emails, and wants to unsubscribe.
Will a ...
0
votes
1
answer
37
views
CORS error while using SendGrid stating origin been blocked by CORS policy. No Access-Control-Allow-Origin header is present on the requested resource
BE Deployed: On Heroku (DRF project)
FE Deployed: On Netlify (React project)
I have integrated SendGrid into my project. It is working fine on the local machine but throwing a CORS error after ...
0
votes
0
answers
36
views
im trying to send an email using an html file for structure. but its returning me the plain text
so im very new to programing and was tasked to send an email. the email gets sent. but it seems im either not using the html. or im rewriting or deleting it somehow. can someone give me a hand to ...
0
votes
0
answers
22
views
Updating subject line to `{{{subject}}}` in Sendgrid not working
I am trying to make a call to SendGrid via the Python SDK:
self._sendgrid.client.templates._(template_id).versions._(version_id).patch(request_body=data)
where the data is:
{"name": "...
0
votes
0
answers
31
views
Open and Click tracking event webhook not firing after the email is opened in Sendgrid
I have a requirement of tracking "open" and "click" events of Sendgrid. I have enabled 'Open' and 'Click' tracking in tracking setting in my Sendgrid account. I have enabled ...
0
votes
0
answers
30
views
Sendgrid email message with Next.js
Hi could you please help me to solve this issue.
I'm using sendgrid to send an email message when user submits a form.
When I add my gmail, I receive the email message. If I add my company email, I ...
0
votes
0
answers
14
views
Sending email using axios and sendgrid API result in CORS error [duplicate]
I am trying to send a post request to SendGrid so that it will direct it to the email address specified in the request body. I have made a verified email account for sendgrid and the api key is stored ...
0
votes
0
answers
18
views
Link in email malformed
I'm using a zero pixel image with the image src being used to track emails opened metric. The issue is my URL originally looks like this,
/bf0e615f-a9cb-42b8-a9fe-db77c7fc697d?type=emailRead&id=1
...
0
votes
0
answers
39
views
Error: XMLHttpRequest error when I try to send an email using SendGrid API, Flutter web and Firebase
I try ro send email using SendGrid api and flutter web. I use a firebase as a backend but I got this error message.
Error: XMLHttpRequest error.
dart-sdk/lib/_internal/js_dev_runtime/patch/...
0
votes
1
answer
47
views
How can i attach the image to email in strapi using sendgrid?
Trying to attach the image from response in strapi content-type using lifecycle hook like in this instruction https://docs.strapi.io/dev-docs/plugins/email, can't find no info for how to attach files ...
0
votes
0
answers
28
views
How to save sendgrid emails in .eml format rather than using persisted data?
For compliance purposes, I need the ability to download emails. I can download received emails from our exchange servers. But the emails that I send are sent using sendgrid. I couldn't find anything ...
0
votes
0
answers
52
views
Are there any alternatives to Twilio SendGrid Notifications for Azure/Python?
The reason for my question is that I am currently doing a training exercise from a book called "Developing Multi Platform Apps with Visual Studio Code" by Packt> Publishing and in Chapter ...
1
vote
1
answer
24
views
Trouble sending data to SendGrid API using Netlify Functions in React.js (SOLVED)
I'm working on a React app that integrates SendGrid for email automation. To achieve this, I'm using Netlify Functions to interact with the SendGrid API (https://docs.netlify.com/integrations/email-...
0
votes
0
answers
28
views
How do I get a list of get bounced and spam reported email addresses from my Sendgrid account, not just a stats overview?
I'm using
$query_params = json_decode('{"aggregated_by": "day", "limit": 500, "start_date": "2023-08-08", "end_date": "2023-08-08",...
0
votes
0
answers
53
views
Sendgrid Azure Function to send out single email to list of users from html form
I am trying to send out an email from a Azure function using Sendgrid and python however, I don't want users to see everyone it is being sent to. I have tried using personalizations but I keep ...
0
votes
0
answers
34
views
Unable to submit an HTML embedded form in email from Outlook
I've created the following Dynamic Template on Sendgrid:
<form method="GET" action="https://MySiteAPIMURL.com/EmailFeedback">
<input type="radio" id="...
0
votes
0
answers
112
views
Error trying to send email with C# Library SendGrid
I'm trying to send email through the sendgrid library for C#, in my development environment it works perfectly, but when I move to my quality environment the following error is occurring, has anyone ...
0
votes
0
answers
17
views
SendGrid renders nothing when the template has "each" in "greaterThan"
I have a SendGrid's dynamic template with "each" in "greaterThan" like this:
{{#greaterThan (length users) 0}}
<p>not empty</p>
{{#each users}}
<p>...
0
votes
0
answers
29
views
Event Webhook : GET parameters in URL
I have a Yii application without mod rewrite, the controller need to be set in URL : ?r=controller/action
In the application : i want to create a system for Event Wehook
I add this link https://...
0
votes
0
answers
15
views
Add development Category to every SendGrid message
We're using SendGrid for emails in our Asp.Net 7 web application. We'd like to add in a "development" category when sending emails during development. There is a method to add categories to ...
0
votes
0
answers
89
views
SendGrid - Signature verification getting failed all time
I am trying to implement Sendgrid Signature verification. I have configured the calling function in Sendgrid webhook.
I was getting signature and timestamp from sendgrid webhook but verifications are ...
0
votes
0
answers
27
views
Contact Form on website not working (Vercel and Sendgrid)
I have a website hosted on Vercel and am trying to use Sendgrid to send emails from my contact form on the site to my gmail address. I keep getting a 405 error. From what I gather, Vercel recommends ...
0
votes
0
answers
22
views
Sendgrid mail in promotional tab Gmail instead of inbox
I have the same issue as here.
However, after reaching out the SendGrid support they have no idea why it would be refused. I am using SendGrid to send to my customers their data when they request it ...
0
votes
0
answers
69
views
SendGrid: Sending Bulk Email results in BadRequest Error
I am trying to send bulk email using the below code.
We are maintaining our own email templates, which I'm loading with the AddContent() method. Since this is a template, I use the substitutions to ...
0
votes
1
answer
33
views
Templates Dynamic - can't get Unsubscribe to work
I have dynamic templates setup for sendgrid using a Python backend and JS frontned and everything sends fine BUT the unsubcribe does not work. I have done a little digging and found a similar case ...
1
vote
0
answers
24
views
How can I remove MARKETING flag in the subject using SENGDRID email service
I am using Sendgrid email provider in my app and for some reason MARKETING flag is added as a subject.
I must say that this is the case just when I use specific email address with my domain.
So if my ...
1
vote
0
answers
40
views
SendGrid "delivered" event missing
When using the SendGrid email api in combination with a webhook to receive events we sometimes get the following situation:
An email message is accepted by SendGrid and a webhook event is received ...
0
votes
2
answers
36
views
Couldn't able to send email using SendEmailAsync
Good day,
I'm getting below exception, while sending email using SendGrid.
What would be the reason of causing this?
Below is my code.
var apiKey = ConfigurationManager.AppSettings["...
0
votes
0
answers
90
views
Custom headers on sendgrid webhook
I have a spring boot application that sends request to SendGrid client to send email out.
And I also have an API configured successfully in sendgrid webhook settings and able to get updates back from ...
2
votes
1
answer
110
views
Sendgrid Attachment : Object type of bytes is not JSON serializable
I am trying to send a python dict as a JSON file for an email attachment using the sendgrid package.
Here is the code :
from sendgrid import SendGridAPIClient
from sendgrid import Mail
from sendgrid ...