I'm trying to run an AMPScript that is calling a previously created data extension filter, and while it works in landing pages, when I try to send an email with this script it errors out. The send preview says:
ExecuteFilter Function is not valid in content. This function is only allowed in non sendable content.
Any ideas about how I can fix this? Is it possible to run a filter in an email AMPScript?