I want to exclude recipients at two different domains from sends. Is Audience Exclusion Script the best way to accomplish this? If yes, what does that script look like?
However, the data extensions I'm sending to are being populated with queries. Is there a way to include the domain exclusion within the query so I don't have to bother with a user-initiated send using audience exclusion script? I tried using "EmailAddress NOT LIKE '@domain.com%'". The syntax of the query was valid but the records the query returned still contained those at the domain I was trying to exclude. Then I tried
EmailAddress NOT CONTAINS '@domain.com%' but that syntax was invalid.