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
17
votes
1 answer

Sending emails via Sendgrid failing for some mails - unable to get mx info: failed to get IPs from PTR record: lookup : unrecognized address

As per How do i send email from Azure function app, we are unable to send email directly from our Azure Function, so instead we are using the SendGrid API to send our emails. (SendGrid seems to work well for us, and we get a free account via our…
Gagravarr
  • 47,320
  • 10
  • 111
  • 156
17
votes
8 answers

SendGrid Unable to read data from the transport connection: net_io_connectionclosed

I am getting an exception thrown sending an email via SendGrid since recently upgrading a project to .net 4.5.2 Failure sending mail. System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed. at …
AVFC_Bubble88
  • 473
  • 1
  • 3
  • 15
17
votes
4 answers

Sendgrid not sending text to new line

I am using sendgrid api with nodejs and for some reason the emails are sending but not adding new lines. I've used and also \n but no luck. Any idea what is wrong? Here is the code I am using var email = { to: 'test@gmail.com', from:…
ServerSideSkittles
  • 2,713
  • 10
  • 34
  • 60
16
votes
3 answers

Sendgrid / email sending issues in Ruby on Rails (hosted on Heroku)

im having a problem getting sendgrid to send emails successfully on a rails 3.1 app that's using authlogic for authentication and is being deployed on heroku. i have the following action mailer configuration on config/environments/[development.rb…
Ringo Blancke
  • 2,444
  • 6
  • 30
  • 54
16
votes
3 answers

How to configure SendGrid Sender Authentication (Domain Verification) in GoDaddy

Unable to validate the domain with GoDaddy after adding the CNAMEs from SendGrid
16
votes
3 answers

Sendgrid - Activity says email delivered but email not received

I tried to send an email through sendgrid. I have a custom domain myself@contoso.com. If i try to send an email to user1@gmail.com with the from address as myself@contoso.com,then,the email is delivered to gmail with "via". When i try sending email…
Hari Subramaniam
  • 1,814
  • 5
  • 26
  • 46
16
votes
2 answers

Is it possible to use custom fonts in sendgrid?

Is it possible to import fonts in sendgrid? I've been trying to use @font-face but it doesn't seem to work, but maybe I'm doing something wrong. Example of the code I used: @font-face { font-family: Avenir; src:…
Kaasstengel
  • 427
  • 1
  • 4
  • 17
16
votes
4 answers

Download image from S3 bucket to Lambda temp folder (Node.js)

Good day guys. I have a simple question: How do I download an image from a S3 bucket to Lambda function temp folder for processing? Basically, I need to attach it to an email (this I can do when testing locally). I have…
JBM
  • 463
  • 2
  • 5
  • 16
16
votes
11 answers

sendgrid error "Access forbidden" when trying to GET user profile API

The following API request: curl --request GET \ --url https://api.sendgrid.com/v3/user/profile \ --header 'Authorization: Bearer API KEY'\ --header 'Content-Type: application/json' From the docs:…
Shiju Augustine
  • 265
  • 1
  • 4
  • 11
16
votes
3 answers

How to add contact in list using (Send Grid) php api

I am trying to add contact in list using php api but its throwing bellow snippet error string(51) "{"errors":[{"message":"request body is invalid"}]} " {"email":"hello@test.com","first_name":"hh","last_name":"User"} I am using bellow snippet…
Sanjay Nakate
  • 2,020
  • 6
  • 39
  • 74
16
votes
7 answers

Iterating through array in SendGrid email template

I'm trying to iterate through a collection and display information in a SendGrid template using Ruby on Rails. recipient = SendGrid::Recipient.new("sergio@gmail.com") recipient.add_substitution("username",…
Sergio Tapia
  • 9,173
  • 12
  • 35
  • 59
16
votes
2 answers

SendGrid-nodejs or Nodemailer?

There are at least two ways to send email from Nodejs using SendGrid: Sendgrid provides a Nodejs library called "SendGrid-nodejs." They're actively supporting Sendgrid-Nodejs (last update 29 days ago). Nodemailer supports sendgrid and seems to be…
stone
  • 8,422
  • 5
  • 54
  • 66
16
votes
2 answers

Can I specify multiple endpoints for Sendgrid Event Notification?

Is it possible to configure send grid account, that I can specify multiple Post Event URL Event notification. Or maybe is it possible to add multiple Event Notification apps?
Daniil Grankin
  • 3,841
  • 2
  • 29
  • 39
16
votes
6 answers

Avoid being blocked by web mail companies for mass/bulk emailing?

Our company is sending out a lot of emails per day and planning to send even more in future. (thousands) Also there are mass mailouts as well in the ten thousands every now and then. Anybody has experience with hotmail, yahoo (web.de, gmx.net) and…
Johannes
  • 3,002
  • 4
  • 33
  • 36
16
votes
2 answers

How to send a csv attachment with lines longer than 990 characters?

Alright. I thought this problem had something to do with my rails app, but it seems to have to do with the deeper workings of email attachments. I have to send out a csv file from my rails app to a warehouse that fulfills orders places in my store.…
CharlieMezak
  • 5,999
  • 1
  • 38
  • 54