From 8e025fec43968baf78146c9c23e9bbe712ce85be Mon Sep 17 00:00:00 2001 From: George F Date: Tue, 16 Jun 2020 01:23:17 +0100 Subject: [PATCH] docs: update for domain or email verification (#1145) --- packages/mail/README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/packages/mail/README.md b/packages/mail/README.md index c27c39321..31961b048 100644 --- a/packages/mail/README.md +++ b/packages/mail/README.md @@ -46,6 +46,10 @@ You may also use [yarn](https://yarnpkg.com/en/) to install. yarn add @sendgrid/mail ``` +## Verify identity +Verify an email address or domain in the [Sender Authentication tab](https://app.sendgrid.com/settings/sender_auth/senders) +Without this you will receive a 403 forbidden response when trying to send mail. + # Quick Start, Hello Email @@ -58,7 +62,7 @@ const sgMail = require('@sendgrid/mail'); sgMail.setApiKey(process.env.SENDGRID_API_KEY); const msg = { to: 'test@example.com', - from: 'test@example.com', + from: 'test@example.com', // Use the email address or domain you verified above subject: 'Sending with Twilio SendGrid is Fun', text: 'and easy to do anywhere, even with Node.js', html: 'and easy to do anywhere, even with Node.js',