Skip to main content
Skip table of contents

E-mail Templates

Overview

This page contains sample e-mail receipt code that you can use when creating a new e-mail receipt file in the File Manager.

Donation E-mail Receipt

XML
{{#subject: CSiDonate Test Receipt - Thank you for your generous donation!}}

<!DOCTYPE html>
<html>
<head>
    <style>
        html, body {
            font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
            font-size: 13px;
            color: #222;
        }

        .center { text-align: center; }

        .lead-text
        {
            display: block;
            position: fixed;
            left: -99999px;
            top: -9999px;
            color: white;
            font-size: 1px;
            line-height: 0.001;
            height: 1px;
        }

        h2
        {
            font-weight: normal;
            margin-bottom: 6px;
        }

        table {
            border: 0;
            border-collapse: collapse;
        }

        table td {
            padding: 3px 10px;
        }

        table th {
            font-weight: bold;
            text-align: left;
            vertical-align: middle;
        }

        small {
            font-size: 11px;
            color: #999;
        }
        div.demo-q
        {
            margin-bottom: 5px;
        }
        div.question
        {
            font-weight: bold;
        }
        div.answer
        {
            font-style: italic;
        }
    </style>
</head>
<body>
    <!-- With styling above, this text does not appear in the e-mail, but does appear in preview lines in email apps which support preview text. -->
    <span class="lead-text">Thank you for generously donating {{Amount}} to our organization!</span>

    <div class="center">
        <h1>Gift Receipt</h1>
        <p>Thank you for your contribution to our organization!</p>
    </div>

    <h2>Your Gift:</h2>
    <table>
        <tr>
            <th>Amount:</th>
            <td>{{Amount}}</td>
        </tr>
        {{#if: recurring}}
        <tr>
            <th>Recurring plan:</th>
            <td>{{RecurringPlan}}</td>
        </tr>
        {{#endif: recurring}}
        <tr>
            <th>Fund:</th>
            <td>{{FundName}}</td>
        </tr>
        <tr>
            <th>Payment account:</th>
            <td>({{CardType}}) {{MaskedCardNum}}</td>
        </tr>
        <tr>
            <th>Reference number:</th>
            <td>{{ReferenceNum}}</td>
        </tr>
        <tr>
            <th>Date:</th>
            <td>{{DateTime}}</td>
        </tr>
    </table>

    <h2>Your Information:</h2>
    <table>
        <tr>
            <th>Name:</th>
            <td>{{FirstName}} ({{InformalName}}) {{LastName}}</td>
        </tr>
        <tr>
            <th>Address:</th>
            <td>{{FormattedAddress}}</td>
        </tr>
        <tr>
            <th>Phone:</th>
            <td>{{Phone}}</td>
        </tr>
        <tr>
            <th>E-mail:</th>
            <td>{{Email}}</td>
        </tr>
    </table>

    {{#if: giftnote}}
    <h2>Gift Note:</h2>
    <p>{{GiftNote}}</p>
    {{#endif: giftnote}}

    {{#if: tribute}}
    <h2>Tribute:</h2>
    <table>
        <tr>
            <th>Honoring:</th>
            <td>({{TributeType}}) {{TributeDescription}} {{TributeHonoree}}</td>
        </tr>
        <tr>
            <th>Name and address:</th>
            <td>{{TributeName}}<br/>{{TributeFormattedAddress}}</td>
        </tr>
        <tr>
            <th>E-mail:</th>
            <td>{{TributeEmail}}</td>
        </tr>
    </table>
    {{#endif: tribute}}

    {{#if: survey}}
    <h2>Survey Questions:</h2>
    {{FormattedSurveyAnswers}}
    {{#endif: survey}}

    <p>
        <small>
            This is the default e-mail template for when a donation is made through CSiDonate. To create a new receipt template, please refer to the user guide for instructions on where to place the receipt and how to select it for one or more templates.
        </small>
    </p>
</body>
</html>

Tribute Notification E-mail

This is a CSiDonate CROWDFUNDING edition feature.

XML
{{#subject: CSiDonate Test Tribute Notification!}}

<!DOCTYPE html>
<html>
<head>
    <style>
        html, body {
            font-family: 'Segoe UI', Helvetica, Arial, sans-serif;
            font-size: 13px;
            color: #222;
        }

        .center { text-align: center; }

        .lead-text
        {
            display: block;
            position: fixed;
            left: -99999px;
            top: -9999px;
            color: white;
            font-size: 1px;
            line-height: 0.001;
            height: 1px;
        }

        h2
        {
            font-weight: normal;
            margin-bottom: 6px;
        }

        table {
            border: 0;
            border-collapse: collapse;
        }

        table td {
            padding: 3px 10px;
        }

        table th {
            font-weight: bold;
            text-align: left;
            vertical-align: middle;
        }

        small {
            font-size: 11px;
            color: #999;
        }
        div.demo-q
        {
            margin-bottom: 5px;
        }
        div.question
        {
            font-weight: bold;
        }
        div.answer
        {
            font-style: italic;
        }
    </style>
</head>
<body>
    <!-- With styling above, this text does not appear in the e-mail, but does appear in preview lines in email apps which support preview text. -->
    <span class="lead-text">You have been named as a tribute on a donation by {{DonorFirstName}} {{DonorLastName}} for {{Amount}}.</span>

    {{#if: bannerimage}}
        {{BannerImage}}
    {{#endif: bannerimage}}

    <div class="center">
        <h1>Tribute Notification</h1>
        <p>Dear {{Name}},</p>
        <p>You have been named as a tribute on a donation by {{DonorFirstName}} {{DonorLastName}}! They gave {{Amount}}.</p>
        {{#if: mergecode}}
            {{DonoFirstName}} gave this gift {{TribMergeDescriptionLower}} you.
        {{#endif: mergecode}}
    </div>

    {{#if: Message}}
    <div class="center">
        <h1>{{DonorFirstName}}'s Message to You</h1>
        <p>{{message}}</p>
    </div>
    {{#endif: Message}}

    <div class="center">
        <h1>What You Can Do</h1>
        <p><a href="https://sandbox.csidonate.com/">Donate Now!</a></p>
    </div>

    <p>
        <small>
            This is the default tribute notification e-mail template for when a tribute is named through CSiDonate. To create a new receipt template, please refer to the user guide for instructions on where to place the receipt and how to select it for one or more templates.
        </small>
    </p>
</body>
</html>
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.