Questions tagged [sendgrid]

Cloud-based email infrastructure and delivery engine, with integration via SMTP and HTTP API. Also offers analytics and newsletter functionality.

SendGrid is a cloud-based email infrastructure and delivery engine, with integration via SMTP and HTTP API, also offering analytics and newsletter functionality.

Helpful links

3350 questions
15
votes
4 answers

How to send .ics calendar invite through SendGrid so that it renders in email clients?

I'm trying to send .ics calendar invites through SendGrid (from Node server) so that it renders in clients like Outlook or Gmail as an actual invitation (with accept/decline buttons) and not just as an attachment file. I've spent days researching…
Denis Yakovenko
  • 3,241
  • 6
  • 48
  • 82
15
votes
2 answers

Updating SendGrid contact custom fields via SendGrid API. Why isn't this working?

I'm trying to update my SendGrid contacts and can't figure out why my attempts to update my contacts' custom fields are not working. My reserved fields (first_name, last_name, email) update, but my custom fields do not. Any ideas why? Documentation…
Nicole Hemenway
  • 563
  • 5
  • 13
15
votes
2 answers

How to receive and parse email with Cloud Functions?

Google Cloud Functions allows you to easily activate a function upon a trigger (eg Firebase data change, HTTP request...). I am looking for a way to execute a function when a user sends (or typically replies) to a email address. For instance, my…
WJA
  • 6,676
  • 16
  • 85
  • 152
15
votes
2 answers

How to pass dynamic data to email template desgined on sendgrid webapp ? :-| Sendgrid

I integrated sendgrid email service with my sample application. & also able to send email to user. But how to pass dynamic data to Email template design on sendGrid webapp? is there any way to send dynamic data to email template designed on…
StackOverFlow
  • 4,486
  • 12
  • 52
  • 87
15
votes
3 answers

Sendgrid API for Ruby on Rails

I can't seem to find a step by step tutorial on how to integrate the Sendgrid web API in to a Ruby on Rails application. I'm pretty new to this so maybe I'm missing something obvious. I would like to use the Sendgrid web API instead of the smtp…
Michael Lee
  • 458
  • 1
  • 8
  • 18
14
votes
7 answers

Nodemailer in vercel not sending email in production

I'm using Nodemailer to send emails in my serverless Next.js project, deployed in Vercel, which works perfectly in development mode. But I'm having problems in production. No error returned, everything works the same way as is development mode,…
Daniel Ioanitescu
  • 187
  • 1
  • 1
  • 10
14
votes
2 answers

Sendgrid links in email produce Your connection is not private error in browser

Rails 5.2 SendGrid Heroku App I have a link in an email to view a report. The links work perfectly in development. However, when SendGrid sends the emails in production and I click on the link in the email I get the following error in the…
chell
  • 7,646
  • 16
  • 74
  • 140
14
votes
5 answers

Python Sendgrid send email with PDF attachment file

I'm trying to attach a PDF file to my email sent with sendgrid. Here is my code : sg = sendgrid.SendGridAPIClient(apikey=os.environ.get('SENDGRID_API_KEY')) from_email = Email("from@example.com") subject = "subject" to_email =…
John
  • 4,711
  • 9
  • 51
  • 101
14
votes
6 answers

SendGrid API V3 returns 400 Bad Request

I am trying to achieve send of mail via SendGrid API. Following is the JSON I am sending as a body of the POST Method { "content" : [ { "type" : "text\/plain", "value" : "Hello, World!" } ], "personalizations" : [ { …
iOSer
  • 2,241
  • 1
  • 18
  • 26
14
votes
1 answer

How do I send a photo email attachment in iOS using POST request to SendGrid?

I am using NSMutableURLRequest to send POST data to a server-side PHP script that sends emails using SendGrid. This works just fine. However, I have no idea how to package UIImagedata properly to send as an attachment. Here is my current code: //…
Marsman
  • 825
  • 1
  • 10
  • 20
13
votes
1 answer

Setup | G Suite + Sendgrid for transactional email

I'm currently trying to get my head around an issue with our Shop's email setup. So far we were using G Suite for all our emails related to our domain abc.com. # The History: # Our WooCommerce Shop was utilising the wp_mail() PHP-Mail functionality…
Kevin Katzke
  • 3,581
  • 3
  • 38
  • 47
13
votes
1 answer

Cannot use Sendgrid Java API to send UTF-8 encoded emails

I've just switched from Mandrill to Sendgrid. When using the standard Sendgrid JAVA API to send emails the email header content-type is listed as: Content-Type: text/html; charset=iso-8859-1 I have not been able to find a way to change this to…
Dsleeper
  • 131
  • 1
  • 5
13
votes
4 answers

on click .. Suspicious link error in gmail(laravel)

When a user signs up on our website, they get an email verification link, but whenever they try to click on any link in that mail, they get the alert error message: Suspicious link This link leads to an untrusted site. Are you sure you want…
Sonu
  • 191
  • 1
  • 10
13
votes
2 answers

Post Angular form data to Node.js with Sendgrid/Nodemailer

I have followed this example to post data from my Angular app to Node.js to post a webform to Sendgrid. This works fine after some changes and thanks a lot for the quickstart. Posting my form data to Sendgrid is working now! For this project i'm…
Simon Janssen
  • 187
  • 2
  • 9