sendgrid / sendgrid-php

The Official Twilio SendGrid PHP API Library
https://sendgrid.com
MIT License
1.49k stars 624 forks source link

feat: add spam, bounce and unsubscribe bypass management filters #1065

Closed shwetha-manvinkurke closed 2 years ago

shwetha-manvinkurke commented 2 years ago

https://docs.sendgrid.com/ui/sending-email/index-suppressions#bypass-filters-and-v3-mail-send https://sendgrid.api-docs.io/v3.0/mail-send/v3-mail-send

KarunaGovind commented 2 years ago

Hi. This is a breaking change for anyone who has used MailSettings:

$msg = new SendGrid\Mail\Mail(); $msg->setSubject($subject); $msg->setMailSettings(new MailSettings( null, true // this was supposed to bypass_list_management ));

After this release, anyone who was in global unsubscribes will no longer receive emails.

It should at least be mentioned in the release notes.

Thanks.