It is now possible to define a specific sending-safe list at the sandbox level, to have a safe environment for testing purpose. On a non-production instance, where mistakes can occur, the allowed list ensures you have no risk of sending out unwanted messages to your customers.
The allowed list enables you to specify individual email addresses or domains that will be the only recipients or domains authorized to receive the emails you are sending from a specific sandbox. This can prevent you from sending emails accidentally to real customer addresses when you are in a testing environment.
This feature is not available on production sandboxes. It only applies to the email channel.
To enable the allowed list on a non-production sandbox, you need to update the general settings using the corresponding API end point in the Message Presets Service.
Using this API, you can also disable the feature at any time.
You can update the allowed list before or after enabling the feature.
The allowed list logic applies when the feature is enabled and if the allowed list is not empty. Learn more in this section.
To add new email addresses or domains to the allowed list for a specific sandbox, you must call the suppression API with the
ALLOWED value for the
listType attribute. For example:
You can perform the Add, Delete and Get operations.
The allowed list can contain up to 1,000 entries.
When the allowed list is empty, the allowed list logic is not applied. This means that you can send emails to any profiles, provided they are not on the suppression list.
When the allowed list is not empty, the allowed list logic is applied:
If an entity is not on the allowed list, and not on the suppression list, the corresponding recipient will not receive the email, the reason being Not allowed.
If an entity is on the allowed list, and not on the suppression list, the email can be sent to the corresponding recipient. However, if the entity is also on the suppression list, the corresponding recipient will not receive the email, the reason being Suppressed.
The profiles with Not allowed status are excluded during the message sending process. Therefore, while the Journey reports will show these profiles as having moved through the journey (Read Segment and Message activities), the Email reports will not include them in the Sent metrics as they are filtered out prior to email sending.
When this feature is enabled on a non-production sandbox, you can retrieve email addresses or domains that were excluded from a sending because they were not on the allowed list. To do this, you can use the Adobe Experience Platform Query Service to make the API calls below.
To get the number of emails that were not sent because the recipients were not on the allowed list, use the following query:
SELECT count(distinct _id) from cjm_message_feedback_event_dataset WHERE _experience.customerJourneyManagement.messageExecution.messageExecutionID = '<MESSAGE_EXECUTION_ID>' AND _experience.customerJourneyManagement.messageDeliveryfeedback.feedbackStatus = 'exclude' AND _experience.customerJourneyManagement.messageDeliveryfeedback.messageExclusion.reason = 'EmailNotAllowed'
To get the list of email addresses that were not sent because the recipients were not on the allowed list, use the following query:
SELECT distinct(_experience.customerJourneyManagement.emailChannelContext.address) from cjm_message_feedback_event_dataset WHERE _experience.customerJourneyManagement.messageExecution.messageExecutionID IS NOT NULL AND _experience.customerJourneyManagement.messageDeliveryfeedback.feedbackStatus = 'exclude' AND _experience.customerJourneyManagement.messageDeliveryfeedback.messageExclusion.reason = 'EmailNotAllowed'