Ask A Question


You’re not receiving notifications from this thread.

Rails/Sendgrid messages are blocked by receiver's servers

Aldiyar Y. asked in Rails

Messages blocked by all receiver's servers(,

console log:

Image of Activity in sg:


Check out what DMARC is, it's the reason your emails are being blocked.

Basically, they're not allowing these emails because they know they didn't originate from the correct server(s). That's what an attacker might do to spoof emails for phishing and things and they think you're doing the same thing.

Sendgrid's servers aren't used for, so you can't send an email from there. If you want to send an email from a address, you'd have to do it with's SMTP servers. Same with GMail.

Generally, you'll want to use your own domain for Sendgrid and other transactional email providers. That's what they're designed for. Make sense?

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 80,973+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2024 GoRails, LLC. All rights reserved.