All threads / Rails/Sendgrid messages are blocked by receiver's servers
Ask A Question

Notifications

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(mail.ru, gmail.com).

console log: https://i.imgur.com/Q4sKtSH.png

Image of Activity in sg: https://i.imgur.com/iN2EcNm.png

Check out what DMARC is, it's the reason your emails are being blocked. https://dmarc.org/

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 mail.ru, so you can't send an email from there. If you want to send an email from a mail.ru address, you'd have to do it with mail.ru'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

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

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

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

    logo Created with Sketch.

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

    © 2022 GoRails, LLC. All rights reserved.