0

Problem: I used the Interactive email form for my Email Template, with a description related to it (description stay above the Interactive Email form, in a different block).

But since Outlook hasn't supported this feature (Interactive email), the email is hidden when I tested with Outlook, thus leading the description to stand alone out of context.

Question: Is there a way to hide the description based on the email platform the users use (Outlook vs Gmail)?

If not, is there a way from your experience to handle this issue?

1
  • this block is just using MSO tags to hide the block and provide fall back image, you could do the same for any other content block
    – EazyE
    Commented Feb 17, 2022 at 15:52

1 Answer 1

2

AMPScript is a server-side language.

Once your email leaves the system, AMPScript is completely out of the picture. After the email has been rendered for a user, AMPScript has completely turned into a calculated result and is not physically present in mails that land in any inbox.

So it is 100% impossible to use AMPScript to read anything out about the recipient and how they view your email. (=client side).

If it were feasible - email clients would block / strip it. This would be potentially dangerous and could be exploited by malicious actors.

The only thing you could do with AMPScript / server side script (don't.) is to personalize based on the domain of a recipient's email address, but that doesn't help much. It's not the domain that's relevant, but also the device / email client (i.e. gmail app, gmail web, outlook, apple mail, thunderbird...) and you have no way of determining that before sendout. It's not even logically possible, as the same email can be viewed on multiple devices by the same person, at the same time.

You would need client side script ("script that stays in the email after it left the server") for such a thing.

Which leaves these two options: make your description part of the interactive form or remove it.

3
  • Thank you for your confirmation! I tried to put the description inside the Interactive form, but it seems that we also don't have that kind of option either. The Interactive form is an isolated content, and only contains several options for the form, but not the description. Or there is a method to do it that I haven't figured it out? Commented Feb 17, 2022 at 8:27
  • Honestly, no idea. I am in a country where so many widespread email clients don't support it that I've never used it. Commented Feb 17, 2022 at 8:37
  • 1
    The method that should be used here is to determine the Outlook version is the Outlook conditional tag. Something like this: <!--[if mso]> <![endif]--> Commented Feb 24, 2022 at 12:58

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .