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
25
votes
2 answers

Setting Up Devise & Sendgrid on Heroku

My site is hosted on Heroku and I installed the Sendgrid Add-On as it looked almost too good to be true - but so far none of the email functionality is working. I have read the documentation and it clearly says just add-the add on - is more…
ubique
  • 1,212
  • 3
  • 17
  • 28
25
votes
0 answers

Sendgrid parse webhook - email forwarding

I am having a PHP web application with SendGrid integration for both incoming (parse webhook) and outcoming mail (PHP mail() with system configuration for mail proxy). Currently our incoming mail system consists of an endpoint, which saves all…
hegez
  • 958
  • 7
  • 12
25
votes
1 answer

Change outgoing mail address from root@servername - rackspace sendgrid postfix

So I recently setup my Rackspace server (Ubuntu LAMP stack) to use Postfix and Sendgrid for outgoing email. It works great in that my test mail from the cmd line gets delivered via sendgrid smtp. However, when I receive the email it says its from…
tehaaron
  • 2,250
  • 10
  • 31
  • 54
24
votes
5 answers

Sendgrid email delivery drop due to Spamhaus listing

Starting on 2020-08-17, Sendgrid IP addresses were listed on Spamhaus for sending phishing emails. Shown here: 1 2 3 This has dropped our email delivery to about 50%, as opposed to the usual 99%. Is there anything I can do to resolve this, besides…
Wouter Florijn
  • 2,711
  • 2
  • 23
  • 38
24
votes
5 answers

How can I add unsubscribe links to my emails when sending via sendgrid/mail

I'm sending emails using: https://github.com/sendgrid/sendgrid-nodejs/tree/master/packages/mail I have not been able to find out HOW I can add the Unsubscribe equivalent. This is documented in here:…
James111
  • 15,378
  • 15
  • 78
  • 121
24
votes
2 answers

SendGrid development environment

What is the best approach for SendGrid development QA environments? We'd like non Production environments that we can store and test our email templates via the API. The SendGrid sandbox setting doesn't allow emails to actually be sent. Unless…
Richard Butterwood
  • 735
  • 1
  • 12
  • 29
24
votes
3 answers

ActionMailer sending real emails in test mode! - How to turn off?

Newly signed up users to my little app must be approved by the admin (me) before they can gain access to the site. I've succeeded in generating such emails in development with an after_create :send_admin_email in my user model which works great. …
BenU
  • 2,287
  • 1
  • 22
  • 35
23
votes
2 answers

Setting up email with Sendgrid in Heroku for a Django App

I am deploying a Django app on Heroku, and using the Sendgrid addon to send out validation email when a user registers on the site. I followed the instructions here and pasted the following into settings.py: EMAIL_HOST =…
WarAndPiece
  • 1,007
  • 1
  • 10
  • 10
21
votes
3 answers

SendGrid emailing API , send email attachment

Am using sendgrid to send emails and it works fine using the following code but its without attachment. package sendgrid; import com.sendgrid.Content; import com.sendgrid.Email; import com.sendgrid.Mail; import com.sendgrid.Method; import…
shareef
  • 9,255
  • 13
  • 58
  • 89
20
votes
6 answers

How to send multiple recipient sendgrid V3 api Python

Anyone please help, I am using sendgrid v3 api. But I cannot find any way to send an email to multiple recipients. Thank in advance. import sendgrid from sendgrid.helpers.mail import * sg =…
P113305A009D8M
  • 344
  • 1
  • 4
  • 13
20
votes
6 answers

How can i send emails without a server ? Only front-end Javascript with sendgrid or

i was wondering lately how i could send emails with only a front-end language like Javascript through Email as a Service apps like sendgrid or mandrill or so. Sendgrid and mandrill have Curl APIS, so basically i can just do an AJAX post request to…
darkylmnx
  • 1,891
  • 4
  • 22
  • 36
19
votes
2 answers

How to test email headers using RSpec

I'm using SendGrid's SMTP API in my Rails application to send out emails. However, I'm running into troubles testing the email header ("X-SMTPAPI") using RSpec. Here's what the email looks like (retrieving from…
19
votes
5 answers

Best practices for sending email to lots of recipients (Rails + SendGrid)

I will be sending bulk emails from a Rails app and plan on using SendGrid. I am assuming that it is best to send a separate email to each recipient (as opposed to using BCC for all the recipients). If that is true, should I be using something like…
Matt Fordham
  • 3,147
  • 10
  • 34
  • 51
19
votes
9 answers

API Key does not start with "SG." SendGrid

I am trying to set up SendGrid add-on in my Heroku NodeJS app. I created the API Key and set it as an environment variable. The whole API key looks something like: SG.actualValue.bbb_cccccc The first setup I did I set the whole key as as my…
Cortoloman
  • 695
  • 1
  • 7
  • 14
18
votes
2 answers

You are not authorized to access SendGrid, please contact Support

I'm having trouble configuring the SendGrid add-on for Heroku. Yesterday, I got the SendGrid addon for a heroku app. In heroku, I clicked on the SendGrid add-on link. This brought be to SendGrid. There, SendGrid sent an authentication email to the…
Joshua Swain
  • 571
  • 2
  • 4
  • 22