If you send Noptin emails through SendGrid, you can have bounced emails, spam reports, and unsubscribes update your subscriber list automatically. Connect SendGrid’s Event Webhook to Noptin’s bounce handler so future campaigns leave out the affected addresses.

This also works when a WordPress SMTP plugin sends your Noptin emails through SendGrid. You don’t need to change that sending setup to track bounces.

Copy your SendGrid webhook URL

  1. Open Noptin > Settings in WordPress.
  2. Choose Emails, then find the Bounce Handling settings group.
  3. Select SendGrid under Email Service.
  4. Copy the complete SendGrid Bounce Handler URL. Do not replace or remove its security code.
SendGrid selected in Noptin Bounce Handling settings with an arrow pointing to the bounce handler URL

Configure SendGrid

  1. In SendGrid, open Settings > Mail Settings > Event Webhooks and click Create new webhook.
  2. Paste the SendGrid Bounce Handler URL you copied from Noptin in the first step into Post URL.
  3. Under Actions to be posted, select Bounced, Spam Reports, Unsubscribed, and Group Unsubscribes.
  4. Turn on Enable endpoint.
  5. Use Test Your Integration to check delivery, then click Save.
Use the Post URL field and select the events under Actions to be posted.
Use the Post URL field and select the events under Actions to be posted.

What changes in Noptin

Bounces mark matching subscribers as Bounced; spam reports mark them as Complained; unsubscribe and group-unsubscribe events mark them as Unsubscribed. Temporary blocked-bounce and deferred events do not mark subscribers as bounced.

The notification must contain an email address already in your Noptin subscriber list. These status changes retain the subscriber record and stop future Noptin campaign delivery to that address; they do not delete it.

Check the connection

Use a test subscriber you control. Check the webhook delivery result in SendGrid, then find the same email address in Noptin > Subscribers and check its status. SendGrid’s test notifications may use an email address that isn’t on your Noptin list.

Keep your bounce handler URL private. Its security code allows the holder to submit bounce and unsubscribe notifications to your site.

Related Guides