Sitecore sales engineers said this scenario is not possible, and it's the one sticking point for a client that wants to use EXM, so I thought I would check with the community.
In an email definition, we would build a component that would check for which user is getting the email, then get back the content that matches criteria they have specified in their user profile that was updated in a certain timeframe, and we would send that email tailored to the user. This, we're told, can be done.
However, in the event the component returns no matching content, we do NOT want the user to get the email. If you were coding this fully by hand, it'd be like using a
foreach loop, hitting an
if (!content.Any()) statement, and then saying
continue to move onto the next user.
Is there some pipeline call or other trigger that can be used to stop that email from firing? A good example, early in the morning there may have been no content updates, we don't want 10,000 users getting an email that says "here's your 8am update, nothing new!" Besides being worthless from an information standpoint, it's wasteful for any potential email counts towards pricing tiers.