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
11
votes
7 answers

Wrong credentials in sending mail using sendgrid

This is the code for sending email using sendgrid i have correct api key still the browser displays error as HTTP/1.1 401 Unauthorized Server: nginx Date: Thu, 14 Jul 2016 08:14:32 GMT Content-Type: application/json Content-Length: 88 Connection:…
art
  • 226
  • 3
  • 11
  • 30
11
votes
2 answers

Sending emails from my domain with SendGrid

I have a question that I guess is not just related to SendGrid. Say, I own the mydomain.com domain, and I want to be able to send emails from, for example, team@mydomain.com. Right now, when I go and manage my domain, I can see that I have added…
Hommer Smith
  • 26,772
  • 56
  • 167
  • 296
11
votes
1 answer

How to configure Devise email with Heroku and Sendgrid in Rails?

I've got a simple Rails 3.2.7 app with Devise added that is deployed to Heroku with Sendgrid added. It works fine on heroku for everything except when it needs to do a password retrieve which requires sending an email. From all the posts i have read…
user2284821
  • 433
  • 6
  • 16
11
votes
1 answer

Using SendGrid SMTP Integration for bulk email

Is there a way to use SendGrid's SMTP Integration API for sending bulk mail? Here's what I have in mind: I need to send a large bulk of emails to subscribers. Since SendGrid docs recommend using SMTP Integration where possible, I would like to be…
mkvcvc
  • 1,515
  • 1
  • 18
  • 41
10
votes
1 answer

How to add CC to SendGrid mail using C#

This is my code.. var client = new SendGridClient(SendGridEmailEntity.Key); var from = new EmailAddress(SendGridEmailEntity.Mail, SendGridEmailEntity.DisplayName); var subject = templateRecord.EmailFrm.SubjectName; var to = new…
Tejas
  • 296
  • 3
  • 12
10
votes
3 answers

Does not match a verified sender Identity error in golang

I'm working on sent emails when a user will do signup. I'm using new SendGrid account for free but while I'm running my function then it will show me the below error can anyone tell me how I' will resolve it. Below is my Golang function func…
Puneet
  • 119
  • 1
  • 2
  • 8
10
votes
3 answers

"UnhandledPromiseRejectionWarning: Error: Forbidden" while sending email from sendGrid in Node.js

I'm integrating sendgrid in my node.js project with the following code as per instructions on their website const sgMail = require('@sendgrid/mail') const sendGridAPIKey = "API key" sgMail.setApiKey(sendGridAPIKey) const msg = { to:…
Anuj Agrawal
  • 101
  • 1
  • 6
10
votes
3 answers

Rails 5.2 Net::SMTPAuthenticationError - 535 Authentication failed: account disabled When Sending Email (Localhost and Heroku)

I'm trying to get a Rails 5.2 mailer working, but am coming across a Net::SMTPAuthenticationError - 535 Authentication failed: account disabled error on both localhost and my Heroku production environment. The mailer looks like this: class…
Liz
  • 1,369
  • 2
  • 26
  • 61
10
votes
1 answer

How do I write a media query for Gmail?

I am trying to write some HTML/CSS for an email but can't get things to show and hide responsively. I have one big table, with two nested tables. Each of the nested tables is a footer that is hidden or shown based on the screen size. Here's the…
wariofan1
  • 481
  • 2
  • 4
  • 17
10
votes
2 answers

errors while validating whitelabel in sendgrid

We are getting Error while validating whitelabel listing in sendgrid • Expected CNAME for "info.domainname.org" to match "u6790682.wl183.sendgrid.net". • Expected CNAME for "s1._domainkey.domain.org" to match…
Harshit Sethi
  • 159
  • 2
  • 8
10
votes
1 answer

Send email as calendar invite/appointment in SendGrid C#

I would like to send an email with calendar invite/appointment to both Outlook as well as non-Outlook client like gmail/yahoo. My application is hosted on Azure and I am using SendGrid for sending emails. Emails part is working just fine but I…
user869375
  • 2,299
  • 5
  • 27
  • 46
10
votes
4 answers

SendGrid modifies links inside email and they dont redirect to correct page

I have a rails app running in production with sengrid. At one point in my app I am sending an email with a confirmation link which redirects to a specific confirmation page : %a.button.button-custom.button-blue{href:…
David Geismar
  • 3,152
  • 6
  • 41
  • 80
10
votes
6 answers

HTTPError: HTTP Error 401: Unauthorized for sendgrid integration with python

def sendEmail(to,apNumber,paperType,zipedFile): sg = sendgrid.SendGridAPIClient(apikey=os.environ.get("API-KEY")) to_email = mail.Email( "to@email.com") from_email = mail.Email( "from@email.com" ) subject = 'This is a test email' …
vinay
  • 123
  • 1
  • 1
  • 8
10
votes
3 answers

Can my ASP.Net Code get confirmation from sendgrid that an email has been sent?

I have this code that I am using in my application: private async Task configSendGridasync(IdentityMessage message) { var myMessage = new SendGridMessage(); myMessage.AddTo(message.Destination); myMessage.From = new…
Samantha J T Star
  • 30,952
  • 84
  • 245
  • 427
10
votes
1 answer

Use sendgrid from multiple domains without whitelabel

I'm trying to understand a few concepts around sendgrid, whitelabeling and different servers that I plan to deploy the same sendgrid account in. So my questions are: 1) Is whitelabelling purely for masking the via sendgrid.me and will I have any…
mixkat
  • 3,883
  • 10
  • 40
  • 58