Email a Friend Email Template

An example of the Email a Friend email is below.

Sample Email a Friend HTML Version

Sample Email a Friend Text Version

Supported Email Tokens

The following email tokens can be used in the Email a Friend email template:

${recipient.name}

${sender.name}

${site-name}

${entity.name}

${sender.source_display_price_for_email}

${entity.link}

${sender.message}

${site-toll-free-number}

${customer-service-email}

Sample Email a Friend HTML Version

Email a Friend HTML Body Contents

An example of the HTML Body Contents for the Email a Friend email template is below.

Name: Email a Friend

Subject: Guess what ${sender.name} has found at the Sample Store

From: OCPCustomerService@oracle.com Note: If a From address is not defined here, the system uses the from address defined in the custserv.email site parameter.

HTML Body Contents:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">

<head>

    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />

    <title>Email a Friend</title>

    <style>

        body {

            background-color: #FFFFFF; padding: 0; margin: 0;

        }

    </style>

</head>

<body style="background-color: #FFFFFF; padding: 0; margin: 0;">

<table border="0" cellpadding="0" cellspacing="10" height="100%" bgcolor="#FFFFFF" width="100%" style="max-width: 650px;" id="bodyTable">

    <tr>

        <td align="center" valign="top">

            <table border="0" cellpadding="0" cellspacing="0" width="100%" id="emailContainer" style="font-family:Arial; color: #333333;">

                <!-- Logo -->

                <tr>

                    <td align="left" valign="top" colspan="2" style="border-bottom: 1px solid #CCCCCC; padding-bottom: 10px;">

                        <img alt="${site-name}" border="0" src="${site-url-secure}/assets/images/cms/includes/OCP_StarterStore_logo.svg" title="Home" class="sitelogo" width="60%" style="max-width:250px;" />

                    </td>

                </tr>

                <!-- Title -->

                <tr>

                    <td align="left" valign="top" colspan="2" style="border-bottom: 1px solid #CCCCCC; padding: 20px 0 10px 0;">

                        <span style="font-size: 18px; font-weight: normal;">EMAIL A FRIEND</span>

                    </td>

                </tr>

                <!-- Messages -->

                <tr>

                    <td align="left" valign="top" colspan="2" style="padding-top: 10px;">

                        <span style="font-size: 12px; line-height: 1.5; color: #333333;">

                            Dear Starter Customer ${recipient.name},

                            <br /><br />

                            Your friend ${sender.name} has sent you this email from the ${site-name}.

                            <br /><br />

                            ${sender.name} has found ${entity.name} at the ${site-name} and thought it might be of your interest.

                            <br /><br />

                            ${entity.name} is priced at ${sender.source_display_price_for_email}. You could find more about it and numerous other products at

                            <a href="${entity.link}">${entity.link}</a>.

                            <br /><br />

                            Below is a personal message from ${sender.name} for you:

                            <br /><br />

                        </span>

                    </td>

                </tr>

                <!-- Friend Message -->

                <tr>

                    <td align="left" valign="top" colspan="2" width="100%" style="padding:10px; background: #F4F4F4;">

                        <span style="font-size: 12px; font-weight: normal;">${sender.message}</span>

                    </td>

                </tr>

                <!-- Signature -->

                <tr>

                    <td align="left" valign="top" colspan="2">

                        <br />

                        <p style="padding-bottom: 10px; font-size: 12px; line-height: 1.4; color: #333333;">

                            Sincerely,<br />

                            ${site-name} Customer Service<br />

                            ${site-toll-free-number}<br />

                            <a href="${customer-service-email}">${customer-service-email}</a>

                        </p>

                    </td>

                </tr>

            </table>

        </td>

    </tr>

</table>

</body>

</html>

Sample Email a Friend Text Version

Email a Friend Text Body Contents

An example of the Text Body Contents for the Email a Friend email template is below.

Name: Email a Friend

Subject: Guess what ${sender.name} has found at the Sample Store

From: OCPCustomerService@oracle.com Note: If a From address is not defined here, the system uses the from address defined in the custserv.email site parameter.

Text Body Contents:

Dear Starter Customer ${recipient.name},

Your friend ${sender.name} has sent you this email from the ${site-name}.

${sender.name} has found ${entity.name} at the ${site-name} and thought it might be of your interest.

${entity.name} is priced at ${sender.source_display_price_for_email}.

You could find more about it and numerous other products at

${entity.link}

Below is a personal message from ${sender.name} for you.

${sender.message}

=========================================

Sincerely,

${site-name} Customer Service

${site-toll-free-number}

${customer-service-email}

See also

Email Templates

HTML Body Contents

Text Body Contents

Contact Us Auto-Response Email Template

Email a Friend Email Template

Forgot Your Password Email Template

Gift Certificate - Purchaser Email Template

Gift Certificate - Recipient Email Template

Loyalty - Welcome New Members Email Template

Order Cancellation Email Template

Order Confirmation Email Template

Share Wish List Email Template

Validate Email Email Template