Sendgrid from address does not match a verified Sender Identity


This article discusses how to solve the issue of an sendgrid email from address authentication

Sendgrid is an email provider that can be used to send emails in applications written in java, golang, .net, and nodejs.

When I tried to send emails using a java programme, I received the following error.

The from address does not match a verified Sender Identity. Mail cannot be sent until this error is resolved. Visit https://sendgrid.com/docs/for-developers/sending-email/sender-identity/ to see the Sender Identity

Sendgrid added extra layer for from address need to be verified.

How can you verify the sender email address

in Sendgrid, You need to verify the sender first, then only you can able to send email with from address. This was added in April 2020 as a extra layer to avoid spam emails.

There are two ways we can do it

  • Domain Verification
  • Sender Verification

Go to settings in Sendgrid dashboard You will see below two options

  • Domain Verification
  • Single Sender Verification

You can check below screenshot

typescript for loop tutorials with examples

Verify domain using Domain Verification

This is the option to configure DNS of your domain so that email sender of that domain accepted as from address.

Here is an screenshot to configure

sendgrid domain verification

Verify sender from address using Single Sender Verification

This option is used to configure a single email address verified as a sender from address.

Click on this option,It popup form as you seen below

This way we can configure sender from address verified

typescript for loop tutorials with examples

reference

You can check more about sendgrid documentation

Conclusion

Sendgrid changed to verify the from address for legit email checking.

We can verify using domain level or single email address authentication.

THE BEST NEWSLETTER ANYWHERE
Join 90,000 subscribers and get a daily digest of full stack tutorials delivered to your inbox directly.No spam ever. Unsubscribe any time.

Similar Posts