Sample CiviMail Messages

CiviMail email messages must include an opt-out link or email address, and the postal address of your organization.
These elements are required by law and help reduce the chances of your email being categorized as SPAM. You include these by placing two special tokens somewhere in the body or footer of the HTML and Text versions of your messages. You can also include an unsubscribe link in your mailings to allow constituents to remove themselves from a specific mailing list.

We recommend using the clickable link token (optOutUrl) for the opt-out action (highlighted below). Links to a web page are generally more convenient options for your constituents then replying to a special email address. Check this page for the full range of action tokens.

Token

What is put in the recipients' email...

{action.optOutUrl}
Required

A special link they can click to opt out of receiving any further CiviMail mailings.

{action.optOut}

A special email address they can use to opt out of receiving any further CiviMail mailings. This is an alternative to using optOutUrl.

{domain.address}
Required

The postal address of your organization as configured in Administer » Communications » Organization Address and Contact Info

{action.unsubscribeUrl}

A special link they can click to unsubscribe themselves from the group(s) to which this email was sent.

{action.unsubscribe}

A special email address they can use to unsubscribe themselves from the group(s) to which this email was sent.

You can also use mail-merge tokens to personalize your CiviMail messages (learn more...).

Examples of how to use these tokens in HTML and Text message are shown below.

Sample HTML Message with Tokens

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>CiviMail - Sample HTML Message</title>
</head>
<body>
<table width="560" border="0" cellspacing="0" cellpadding="0" align="center">
    <tr>
       <td>
	<h2>Community Partners</h2>
        <p>Helping people in Massachusetts get the health care coverage they need.</p>
        <p><strong>August 23, 2006 - 12:35pm</strong>. Massachusetts&rsquo; Medical Security Program (MSP) provides health care
        coverage to eligible people while they are receiving unemployment benefits....
        </p>
        <p><a href="https://www.example.org/civicrm/contribute/transact?reset=1&id=1">Support our
           efforts</a> to get health care coverage to all people of Massachusetts! </p>
	</td>
    </tr>
    <tr>
        <td align="center">
        <p>To unsubscribe from this newsletter, <a href="{action.unsubscribeUrl}">click here</a>.<br />
        To never receive email from Community Partners, <a href="{action.optOutUrl}">click here</a>.</p>
        </td>
    </tr>
</table>
<div style="text-align: left; font-size: 90%">
    This email is sent from:<br />
    {domain.address}
</div>
</body>
</html> 

Sample Text Message with Tokens

++++++++++++++++++
Community Partners
++++++++++++++++++
Helping people in Massachusetts get the health care coverage they need.


August 23, 2006 - 12:35pm
-------------------------
Massachusetts&rsquo; Medical Security Program (MSP) provides health care
coverage to eligible people while they are receiving unemployment benefits....


Support our efforts to get health care coverage to all people of Massachusetts!
Paste this link into your web browser:
https://www.example.org/civicrm/contribute/transact?reset=1&id=1

To unsubscribe from this newsletter, click this link:
{action.unsubscribeUrl}


To never receive email from Community Partners, click this link:
{action.optOutUrl}


This email is sent from:
{domain.address}