Documentation Center

Configuring confirmation e-mails

In the <PresentationSide> section of the configuration file OutboundEmail.xml, add <ConfirmationEmail> elements to specify the e-mails sent to subscribers when they confirm, subscribe, change their profile, or unsubscribe.

About this task

When a user confirms, subscribes, changes their profile, or unsubscribes via the website, they submit a webpage, prompting a call to contact.Save, which contains an identifier. That identifier is in the Audience Manager configuration file (OutboundEmail.xml), which also contains the Content Manager WebDAV URL or Content Manager URI the of the Page that is used in the e-mail to notify the user. Audience Manager checks the <ConfirmationEmail> sections and identifies the appropriate configuration using the WebDAV URL specified in the <Page> section. If the WebDAV URL is not found, Audience Manager returns an error.

Procedure

  1. Open OutboundEmail.xml, located by default in %TRIDION_HOME%\config\, for editing.
  2. Locate the <ConfirmationEmails> section, for example:
    <PresentationSide>
      <ConfirmationEmails>
    <!-- The <Defaults> section contains your default settings -->
        <Defaults>
          <Default id="SubscriptionDefaults">
            <SenderName>Example Company</SenderName>
            <SenderAddress>subscription@example.org</SenderAddress>
            <ReplyAddress>replies@example.org</ReplyAddress>
            <RequireAllFields>true</RequireAllFields>
          </Default>
        </Defaults>
        <ConfirmationEmail id="Subscribed-EN" defaults="SubscriptionDefaults">
          <Page>/webdav/Example%20Publication/Root/Subscribe%20Confirmation.tpg</Page>
          <Subject>Please confirm your subscription</Subject>
        </ConfirmationEmail>
        <ConfirmationEmail id="Subscribed-NL" defaults="SubscriptionDefaults">
          <Page>/webdav/Example%20Publication%20%28NL%29/Root/Subscribe%20Confirmation.tpg</Page>
          <Subject>Uw aanmelding voor Example Company</Subject>
        </ConfirmationEmail>
    	</ConfirmationEmails>
    </PresentationSide>
  3. In a <ConfirmationEmail> section:
    1. specify the defaults attribute, whose value is the id attribute specified in a <Defaults> section
    2. specify the WebDAV location in the Page section; this is the E-mail Page used in the e-mail response
    3. specify the <Subject> setting; this is the subject title of the e-mail message sent when the user has confirmed, subscribed, changed their profile, or unsubscribed from a Mailing
    The fields found in a ConfirmationEmail section override the ones in the referenced Default section: that is, Audience Manager only uses the setting in the configured Default section if that setting has not been specified in the ConfirmationEmail section itself.
  4. Save and close OutboundEmail.xml.