We have a lot of @Customer.com Emails in our Auto Suppresion lists but I want to remove them all from the Auto Supression.
Bellow is to delete multiple records in the Auto Suppresion list but we have to insert the Email addresses is there a way where we can say delete all with @customer for example?
<script runat="server">
Platform.Load("Core","1.1.1");
var deleteEmails = DataExtension.Init("toDelete");
var data = deleteEmails.Rows.Retrieve();
for (var i=0; i < data.length; i++) {
var email = data[i].Email;
var deleteRow = Platform.Function.DeleteData('AutoSuppressionExternalKey',['Email Address'],[email]);
};
</script>