Any solution: if Mytoken value is empty, not sending the email to that record? | Community
Skip to main content
New Participant
April 1, 2021
Solved

Any solution: if Mytoken value is empty, not sending the email to that record?

  • April 1, 2021
  • 1 reply
  • 2194 views

Mytoken is used in the email content and sometime happens that Smart campaign qualifying the records but Mytoken with the empty value.

 

Thus, Email preview with the empty space.

 

Is there any way to check if the Mytoken value is empty, not sending the email to that record?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by SanfordWhiteman

The only way to do this is using what I call a "poison pill" — deliberately throwing an error from VTL so the email will soft bounce. Not a technique I recommend until you have a bunch of Velocity experience.

1 reply

SanfordWhiteman
New Participant
April 1, 2021

Are you talking about a Velocity {{my.token}}?

New Participant
April 2, 2021

Yes
That Mytoken is used in the Email content.

SanfordWhiteman
SanfordWhitemanAccepted solution
New Participant
April 2, 2021

The only way to do this is using what I call a "poison pill" — deliberately throwing an error from VTL so the email will soft bounce. Not a technique I recommend until you have a bunch of Velocity experience.