File tree Expand file tree Collapse file tree 2 files changed +1924
-0
lines changed Expand file tree Collapse file tree 2 files changed +1924
-0
lines changed Original file line number Diff line number Diff line change @@ -634,6 +634,10 @@ const (
634634 WebhookEventTypeEmailSpam = WebhookEventType ("email_spam" )
635635 // The email hard-bounced with a "mailbox not found" error.
636636 WebhookEventTypeEmailMailboxNotFound = WebhookEventType ("email_mailbox_not_found" )
637+ // The email was blocked before it was sent, as the recipient matches a blocklist.
638+ WebhookEventTypeEmailBlocklisted = WebhookEventType ("email_blocklisted" )
639+ // A new blocklist is created.
640+ WebhookEventTypeBlocklistCreated = WebhookEventType ("blocklist_created" )
637641)
638642
639643func (enum WebhookEventType ) String () string {
@@ -653,6 +657,8 @@ func (enum WebhookEventType) Values() []WebhookEventType {
653657 "email_delivered" ,
654658 "email_spam" ,
655659 "email_mailbox_not_found" ,
660+ "email_blocklisted" ,
661+ "blocklist_created" ,
656662 }
657663}
658664
You can’t perform that action at this time.
0 commit comments