Thiago Rossener
Thiago Rossener

Reputation: 964

Gmail is not receiving emails from SendGrid

I have a Django app set up to send emails from my contact form via SendGrid.

The contact form should send emails to [email protected], which is an account using G Suite, so the client opens the email on Gmail.

However, the emails from the contact form are getting stuck on SendGrid with status deferred or block.

I tried changing the destination email from [email protected] to [email protected] and it worked just fine.

I don't know what else to do.

Here is my Activity Feed from SendGrid dashboard:

enter image description here

I read when the status is deferred, SendGrid keep trying to send the email again for the next 72h, but I have emails sent 3 days ago that never arrived on the inbox.

Anyone knows what could I do to fix that?

Upvotes: 4

Views: 12774

Answers (1)

Thiago Rossener
Thiago Rossener

Reputation: 964

I solved it! Thanks to @Selcuk comment.

I had my domain pointing to a server with cPanel all set up.

Then I developed a new app, deployed it on Heroku and installed the PointDNS to get my domain poiting to the Heroku app.

When I did this, I lost my MX records set up on my server with cPanel.

All I had to do was to add the MX records for G Suite on PointDNS:

enter image description here

Upvotes: 2

Related Questions