There are many factors to consider when you are configuring the template body setup:
- If both an HTML body and a text body are received in one inbound message, the outbound message sends out only HTML or text as defined in the email template. The non-used body is ignored.
- If both HTML and text are defined in the email template, only HTML is sent.
- If a multi-part email is received, HTML is sent. Transact preserves the original HTML formatting.
Note: Set up the template according to what your contacts can receive and what you send, following the settings that you put in your group of automated messages. If HTML is specified, then HTML must be submitted, or the server does not recognize it. The same is true for text.
Email template setup | Customer message type | Contact results |
HTML Body Only is configured as %%INBOUND_HTML%% |
HTML | Receive HTML message |
TEXT | Message is not formatted correctly; contact receives %%INBOUND_HTML%% |
|
Multipart Message (HTML and TEXT) | Most contacts receive HTML message; this depends on the email client. TEXT Body Only is configured as %%INBOUND_TEXT%% | |
TEXT Body Only is configured as %%INBOUND_TEXT%% |
HTML | Message is not formatted correctly; contact receives %%INBOUND_TEXT%% |
TEXT | Receive TEXT message | |
Receive TEXT message | ||
Both HTML and Text Bodies %%INBOUND_HTML%% and %%INBOUND_TEXT%% |
HTMLMultipart Message (HTML and TEXT) | Receive HTML message |
TEXT | Message is not formatted correctly; contact receives %%INBOUND_HTML%% |
|
Multipart Message (HTML and TEXT) | Most contacts receive HTML message; this depends on the email client. | |
HTML | Message is not formatted correctly; contact receives %%INBOUND_TEXT_AS
HTML%% |
|
TEXT | Receive TEXT message in an HTML wrapper | |
Multipart Message (HTML and TEXT) | Receive TEXT message in an HTML wrapper |
Create content for the Transact email
- Add text or HTML.
- The email template imports the text from the original message, and is created in Acoustic Campaign. The Personalization tags (%%INBOUND_HTML%% or %%INBOUND_TEXT%%) are used to pull the body from the incoming message.
- You cannot make changes to the incoming message, except additions before or after the message. You can add text, HTML, images, and links.
- Use the Preview button to view the additions (email content will not display).
- Include the original message. You can design the template like any other Acoustic Campaign email template, including layout and adding extra content; however, you must include a personalization tag to 'call' or include the body of the original message.
- Get the HTML content of the original message. HTML body obtains only the HTML portion of the body from an incoming message. Use the following code within the HTML tags of the HTML body type: %%INBOUND_HTML%%
- Get the text content from the original message. The text-only body obtains only the text portion of the body from an incoming message. Enter the following code in the text body type: %%INBOUND_TEXT%%
- Optional: Text from the original message can also be sent as HTML. Shows a message sent as text, but it is put into a body that has HTML (and includes a logo and a link with a special offer). Note that the HTML tab is selected. Use the %%INBOUND_TEXT_AS_HTML%% tag (instead of the INBOUND_HTML tag) inside the HTML body tags.
- URLs using the typical format (for example, "http://www." or "www.") are recognized as links and formatted in HTML as links.
- Plain text emails will be formatted with <BR> tags for line formatting.
- Any HTML tag in the text will be recognized as HTML.
- The personalization tags must be in the exact formats shown.
- If both an HTML body and a text body are received in one inbound message, the outbound message will send out only HTML or text as defined in the email template. The non-used body will be ignored.If both HTML and TEXT are defined in the email template, only HTML will be sent.
- If a multi-part email is received, HTML will be sent. Transact will preserve the original HTML formatting.
Set up a template for a Transact SMTP send in a classic editor
- Go to Emails > Create > email template (classic).
- Enter your email name in the Email name field.
- Select your Transact enabled database.
- Choose a Template location. Transact templates must be saved in the Shared folder.
- From name: Enter %%FROM_NAME%% for the name to be pulled from the incoming message header.
- From Address: Enter %%FROM_ADDRESS%% for the address to be pulled from the incoming message. Reply-to address: Enter %%REPLY_ADDRESS%% to pull the address from the incoming message.
- Select your Tracking Level.
- Clear Insert 'Click to View in Browser' link at top of this email. Transact SMTP does not support this feature.
- Click Save.