About TemplateMailer :: Try / Purchase :: Support :: Company Information :: Feedback

When using the TemplateMailer Web Delivery Service after the user completes your form you have the option of either redirecting them to a thank you page or streaming a formatted thank you message through the TemplateMailer Service.

To redirect the user simply set the _redirectURL property in a hidden HTML field.

When you pass a preformatted Thank you template back to the user through the TemplateMailer Web Delivery Service the TemplateMailer will format your template into the SendTemplateMail.aspx web form. If you are using a standard overall layout for your thank you message you may alter the structure of the SendTemplateMail.aspx file to meet the needs of your layout. It is important to leave the following two lines at the top of the file.
<%@ Page language="c#" Codebehind="SendTemplateMail.aspx.cs" AutoEventWireup="false" Inherits="TemplateMailerWebDelivery.SendTemplateMail" %>
<%@ Register TagPrefix="tectonics" Namespace="TectonicConcepts.TemplateMailer" Assembly="TemplateMailer" %>

Also, place the TemplateMailer control element within your layout where you want your dynamic template to be placed. The TemplateMailer control element is identified as the following:
<tectonics:SendTemplateEmail id="SendTemplateEmail1" runat="server"></tectonics:SendTemplateEmail>

If you want to pass a completely formatted page to the SendTemplateMail.aspx it will be necessary to remove all of the extra HTML elements from the file. The following is the remaining format to use with a completely formatted HTML thank you message.

<%@ Page language="c#" Codebehind="SendTemplateMail.aspx.cs" AutoEventWireup="false" Inherits="TemplateMailerWebDelivery.SendTemplateMail" %>
<%@ Register TagPrefix="tectonics" Namespace="TectonicConcepts.TemplateMailer" Assembly="TemplateMailer" %>
<tectonics:SendTemplateEmail id="SendTemplateEmail1" runat="server"></tectonics:SendTemplateEmail>

When using this method, you must provide the complete HTML including:
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<BODY></BODY>
</HTML>



Copyright 2001 - 2017
Tectonic Concepts, LLC, All Rights Reserved