Skip to content

External and internal wraps (legacy templates)

This article is for pre-2022 templates, built with our legacy HTML syntax: use it if your tags are in $tag; format. If you use Liquid templates, see External and internal wraps (Liquid templates).

Some customers want a shortened signature to display internally, and a long signature to display externally. Opensense can do this:

{if_sgexternal} and {/if_sgexternal}
Wrap the fields that are delivered to recipients outside your domain.
{if_sginternal} and {/if_sginternal}
Wrap the fields that are delivered to recipients within your domain.

Wrap the entire table with {if_sgexternal} and {/if_sgexternal}, or with {if_sginternal} and {/if_sginternal}:

The HTML Template box, with {if_sgexternal} before the opening table tag and {/if_sgexternal} after the closing table tag

This example shows a long, formal signature externally, and a shortened signature internally. In the reply template, there’s no signature set for internal replies.

A template preview with a full signature inside the external wrap and a short name-and-logo one inside the internal wrap, and a reply template with only an external signature

Wrap only the object, such as the banner tag, with {if_sgexternal} and {/if_sgexternal}, or with {if_sginternal} and {/if_sginternal}:

The HTML Template box, with the banner tag after the closing table tag wrapped in if_sgexternal tags

For further help, contact Opensense Support at help@opensense.com.

Screenshot preview

Screenshot