- Create a SendGrid account. For detailed steps about how to do this, go to How to Create a SendGrid Account.
- Log in to your SendGrid account.
- Verify your domain:
- Click Settings, and then click Sender Authentication.
- In the Domain Authentication section, click Authenticate your Domain.
- Select your domain registrar, or click other and type the name manually.
- Type the domain or subdomain that you want to use to send emails.
- Add the CNAME records to your domain’s DNS zone.
- Wait about one minute, and then click Verify.
- Generate an API key:
- Click Settings, and then click API Keys.
- Click Create API Key.
- In the API Key Name text box, type a name for the API key. The name can be whatever you want.
- In the API Key Permissions section, click Full Access.
- Click Create & View.
- Copy the key and save it somewhere safe.
- Log in to your WordPress site as the administrator.
- In the left-hand pane, click Plugins.
- Click Add New.
- In the Search Plugins text box, type mail smtp, and then press Enter.
- Locate WP Mail SMTP by WPForms, and then click Install Now.
- After WordPress finishes installing the plugin, click Activate.
- In the left-hand pane, click WP Mail SMTP, and then click Settings. The WP Mail SMTP general settings page appears.
- Under Mail, in the From Email text box, type the e-mail address you want to use as the sender. A very common choice is no-reply@example.com (where example.com represents your own domain name).
- In the From Name text box, type the name you want to associate with the e-mail address you specified in the previous step.
- Under Return Path, select the Set the return-path to match the From Email check box.
- Under Mailer, select Other SMTP.
- Under Other SMTP, in the SMTP Host text box, type smtp.sendgrid.net.
- In the SMTP Port text box type 465, and then under Encryption, select SSL.
- Under Authentication, select On.
- In the SMTP Username text box, type apikey.
- In the SMTP Password text box, paste the API key from your SendGrid account.
- Click Save Settings.