Sendgrid email works, but not to my own domain

I’m having an issue with email, I’m not sore how to troubleshoot it because this is the first email time I’ve ever used Sendgrid.

Here is the situation

  1. If I send an email to my personal email account from my app. It works fine. Here is i

  1. The work flow is here:

Here is the link to the editor page that has that email workflow: Saleshuddle | Bubble Editor

  1. You’ll notice that my email with my domain is in there. It is chris@joinsaleshuddle.com

I cannot get the app to send an email directly to that email or as a bcc, but it will send emails to other emails perfectly.

I’ll say that that email is the same domain as the domain that sendgrid is using: chris@joinsaleshuddle.com

  1. I checked SendGrid usage and they confirmed that they did send the emails to my personal email (christopher.b.williams1@Gmail.com) and not to be business email (chris@joinsaleshuddle.com)

  1. I’m digging into the issue and found this error code within SendGrid.

The error message was:

unable to get mx info: failed to get IPs from PTR record: lookup : unrecognized address

  1. I look up that error on mother google and found this post: python - Sending emails via Sendgrid failing for some mails - unable to get mx info: failed to get IPs from PTR record: lookup <nil>: unrecognized address - Stack Overflow

In that post, the guy says it’s a typo. I cannot find a typo in my email address.

Any idea on what it could be?

Hey @topherwilliams ,

Have you verified your domain with Sendgrid? It might also be Sendgrid servers being blocked by your mail servers which I won’t be super surprised about because that’s happened to me which is why I’ve switched to Postmark.

Yes, I have verified my domain.

For your point about ‘sendgrid servers being blocked by my mail servers’.

For me, both of my mail servers are using google.

I will say that I set up my business domain with Wix (those are where the Mx records) and then started managing the domain with godaddy. So perhaps, it cannot find the Mx records on my godaddy acount? It does say “unable to get mx info”

I think I found the issue, I sent myself a test email from my personal email to my business email, the email bounced.

I have been getting some emails today, but this is the issue.

Ah, so this seems like an email issue. Are you sure your email address is active? Are you using Google Workspace/G Suite?

I use G Workspaces

Here’s what happened

  1. I initially bought the domain with godaddy
  2. I build my website with Wix and accidentally moved over my DNS management to Wix
  3. I set up my gmail address with Wix
  4. Last night, to get my app going, I switched my name servers back to Godaddy.

My guess is that this switch is what is now causing the error.

I scanned this so perhaps I missed some details, but a couple points:

  • Some people have reported problems with SendGrid related to IP addresses that SendGrid uses being blacklisted. Do a search on the forum for SendGrid and also Postmark and you’ll see some long posts. In the SendGrid post there’s some discussion on how to troubleshoot and improve delivery, to the extent possible.
  • I set up Postmark and emails Postmark sent from me to me were going into spam. The solution was to enter the Postmark IPs with the company that holds my domain name, which basically communicates to the email recipient that the email is coming from an IP address that is approved by me. That fixed it and Postmark had good documentation on how to get everything working.

I think in this case since you sent an email from your personal to Google Workspace, it seems like a DNS issue not working well with Google.

Have you checked your Google Admin panel to see if it’s properly propagated?

Thank you @ed727 for looking at this and your response. I’ll keep this in mind.

I believe it’s a G Workplace/DNS/MX Record Issue after talking with godaddy. @johnny Yes, I’m checking this now and tech support with wix, godaddy to solve these records.

1 Like

Confirmed. The issue was my DNS records.

the fix was to go into the admin panel of Google Workspace and connect it to my godaddy account. Now I get emails fine, in general, and from my app.

Thanks for your help! For someone that doesn’t technology, I’m not sure how I keep solving these things. Shit is crazy! Thank you for the help @johnny and @ed727

2 Likes

Yay! Glad to hear it’s all working now!