You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a new bounces collection where each document has a 48hr TTL and has the following fields:
formId: ObjectId
hasAlarmed: boolean: whether an alarm has been sent
bounces: Array<{ emailAddress: string, hasBounced: boolean }>: whether an email has bounced.
When we receive a bounce notification via webhook notifications, retrieve the document by finding the correct form ID. For each email in the list of bounced emails, set the corresponding hasBounced to true. If all the hasBounced are true and hasAlarmed is false, send an alarm write a log message and set hasAlarmed to true. CloudWatch should monitor the log message and trigger an alert if necessary
If the list of email recipients is different from the bounces array, update the bounces array.
If an email was successfully received, set hasBounced to false for the corresponding email.
The text was updated successfully, but these errors were encountered:
Create a new bounces collection where each document has a 48hr TTL and has the following fields:
formId: ObjectId
hasAlarmed: boolean
: whether an alarm has been sentbounces: Array<{ emailAddress: string, hasBounced: boolean }>
: whether an email has bounced.When we receive a bounce notification via webhook notifications, retrieve the document by finding the correct form ID. For each email in the list of bounced emails, set the corresponding hasBounced to true. If all the hasBounced are true and hasAlarmed is false,
send an alarmwrite a log message and sethasAlarmed
to true. CloudWatch should monitor the log message and trigger an alert if necessaryIf the list of email recipients is different from the bounces array, update the bounces array.
If an email was successfully received, set
hasBounced
to false for the corresponding email.The text was updated successfully, but these errors were encountered: