This solution guide contains conceptual, scenario, and procedural information about sending eStatements as file attachments within an email send. You can use these eStatements to inform customers about bank accounts, billing cycles, or other legally required notices.
In order to send eStatements, you must have the file attachment feature enabled on your account. Please contact your ExactTarget service representative if you have any questions about enabling this feature. You should also be familiar with AMPscript in order to attach the correct files and personalize the emails send out as part of your eStatement sends.
This section describes exactly what the eStatements solution provides and why you should integrate this solution into your email sends.
The eStatement solution attaches personalized account information from bank accounts, credit cards, and other financial services as documents (such as PDF or .xls files) to an email. Your customers opt in to receive these statements either via email or on your website, and these sends are handled as transactional sends. Each file belongs to individual customers, so no two customers would receive the same information. These files are uploaded to an FTP site and attached to the email as part of an email send. These sends use either a subscriber list or a sendable data extension to conduct the sends. These information sources contain the account information and send information necessary to pair up the correct statement to the correct email message in the send. The customer then opens the eStatement and reviews the information.
You can use eStatements to provide personal or legally mandated information to your customers in a timely manner. Depending on the format of your eStatement, your customers can import the information into third-party programs to review their financial information, giving them more flexibility and convenient access to your eStatement information. This kind of communication can also be used to replace paper statements to your customers, although those customers who don't receive the eStatements may require paper follow-up communication, depending on your legal requirements. Replacing paper communication can help you realize a savings in your customer communication budget.
Northern Trail Outfitters issues and maintain credit card accounts for its customers, and thus must send regular monthly statements to its customers. While these statements have been printed on paper and sent via the mail in the past, Northern Trail Outfitters wants to offer their customers the choice of eStatements sent via email. A monthly email send includes an attached eStatement customers can use to review their account and maintain their financial records. Northern Trail Outfitters wants to use their ExactTarget account to send these eStatements, which are created as PDF files and uploaded to their website.
Northern Trail Outfitters uploads customer information including account ID information to a sendable data extension and places the eStatements in their enhanced FTP site. AMPscript within the email refers to the last four digits of the account number to attach the eStatement to the email and includes those digits in the email itself. Email sends go out monthly with these statements, and Northern Trail Outfitters uses measures and data filters inside a monthly program to regularly review bounces and send follow-up paper companies.
First, you must create your subscriber list or sendable data extension. The example below shows the creation of a sendable data extension:
Then, you must conduct an import activity to place subscriber information inside the sendable data extension:
You can view the data inside the data extension once the import is complete:
Once your subscriber lists or sendable data extensions are populated, you can create the email you wish to send to you customers. This example HTML email shows some of the personalization and the AttachFile() AMPscript function you can use to send the attached eStatements:
In this case, the AMPscript combines the customer's account number with the extension .csv to find the correct eStatement in the ExactTarget Enhanced FTP site. The ExactTarget application joins the attachment to the email at the time of the send.
The flowchart below describes the overall process of sending eStatements via an email send:
Before you can import subscribers into your subscriber list, you must first create the list as shown in the following steps.
You can create public and private lists by following these steps:
If you've created a list subfolder under My Lists in which you want to create this new list, click that subfolder.
| Field | Description |
| Name | Enter a name for the list. This name identifies the list in the Send Email wizard. If you make this list public, this name appears in the Subscription Center. Your list name cannot contain the # symbol. |
| Description | Enter a brief description of the list. This description appears in the list workspace. Additionally, if you make this list public, this description appears in the Subscription Center. |
| Public | To make this list public, select (check) the Public check box. A public list appears for all subscribers in the Subscription Center, where a subscriber can choose to subscribe to or unsubscribe from the list. |
Your new list is now ready for you to add subscribers to it. You can add subscribers manually or you can import subscribers.
Once you've created the list, you can add subscriber information to the list. Be sure to include fields for all of the applicable send information, including name, account number, email address, and any other pertinent information.
Before you can import a file, you must first create a list and create the import file.
To import the subscribers from your import file, follow these steps:
If you've created a list subfolder under My Lists in which you want to import the new subscribers, click that subfolder.
| Field | Description |
| Upload Source | The FTP option shows you two options: Your Computer and FTP. To use a file that you've uploaded to the FTP site, type the filename in the FTP field. See the Enhanced FTP Guide for details on using the FTP option. If the file you want to import is located on your hard drive, click the Browse button and locate the import file on your computer. Only files located on a locally mapped drive are supported ( C:\, D:\, etc.). You cannot upload a file from a UNC path (such as \\ abcfiles\). |
| Data Format | Select one of the following :
|
| File is encrypted | If the advanced feature for encrypted imports is enabled in your account, you'll see this check box. Select the check box if the import file you're using has been encrypted. |
| Updated Options | Add new subscribers and update subscribers that already exist Add new subscribers but do not update subscribers that already exist Update existing subscribers but do not add subscribers that do not exist |
The application reads the import file, which may take several moments depending on the size of the file.
Note: The data in the import file is not yet brought into your account.
The Map Attributes dialog box appears next. This dialog box consists of two sections:
| Section | Description |
| Source | The Source section lists the data found in the first row of your import file. Labels that are grayed out have been mapped to attribute fields by default; labels shown in black font have not been mapped. If the first row of your import file is a header row, you'll see the column labels from your import file shown in the Source section. In this case, make sure that the First row is header check box is selected so that the application does not attempt to import that row as subscriber data. You can view all the data in your import file by means of the buttons below the Source section. Click the Next button below the Source section to view the next row of data in your file. Click Previous to go back to the row that was just displayed. |
| Destination | The Destination section lists the profile and preference attributes currently defined in your account, separated into those that have been set up as required and those that have not. If the header row in your import file contains labels that exactly match attribute names, the application has mapped those labels to the attributes for you. The Mapped From column in the Destination section shows the label from your import file that's been mapped to the attribute shown in the Attribute column. As you scroll through the rows of data in your import file by using the Previous and Next buttons, the Destination section updates to show how the data is mapped to the attribute fields. |
The column of data is now mapped to the attribute, as indicated by the grayed-out value in the Source section and the Mapped From value in the Destination section.
You also have these additional options:
Any fields still displayed in black font rather than gray in the Source section represent data that isn't imported.
Note: Any attributes that have been defined as required must be mapped to fields in your import file. You can't continue with the wizard until these fields are mapped.
The Confirm Mappings dialog box appears next, summarizing your selected mappings and the number of columns (fields) and records (subscribers) in your file that the application attempts to import.
The application begins the process of importing your data. How long the import takes depends on the size of your import file.
The final dialog box of the wizard appears.
| If you chose to be emailed upon completion: | This dialog box appears immediately and confirms that the import has begun. Click Finish to exit the wizard. After the import is completed, you'll receive an email with the results of the import (if the file does not exceed 5MB in size). |
| If you did not request an email upon completion: | The dialog box appears after the import process has been completed. The text of the dialog box shows you the results of the import and includes a Download report button for you to view the details behind the records that could not be imported. Click Download report to open the log file showing the results. You also have the option of opening the list into which you imported the new subscribers. Select the Take me to my list check box, and the list opens when you click Finish. |
For best practices and tips on creating and executing the import file, see Imports.
You will also need to create additional attributes for your subscribers in order to use information like account numbers and addresses.
Every account includes a standard set of basic profile attributes. You can create a number of attributes (your limit is specified in your account contract) and manage them in the Profile Management and Preference Management sections.
The steps for creating a profile preference attribute are the same. Profile attributes are created and accessed from the profile management workspace, and preference attributes are created and accessed from the preference management workspace, both of which are in the Subscribers area of the application.
Note: If the attribute is a yes or no value, create a preference attribute. If the attribute requires more complexity, create a profile attribute.
Follow these steps to add a new profile or preference attribute to your account:
Remember: If the advanced profile/preference management feature is not enabled in your account, you can't see these sections in the navigation pane.
If you're creating a profile attribute, all profile attributes defined in your account appear in the profile management workspace on the right. If you're creating a preference attribute, you see the preference management workspace on the right, with all preference attributes that are defined in your account.
Note: In addition to basic alphanumeric characters, certain special characters can be used in the values that you enter as a subscriber value for an attribute. The special characters represented by the ASCII decimal ( dec) codes 32 through 254 are supported.
This attribute is now available for use in defining groups, dynamic content, and personalized substitution strings.
Note: If you marked the new attribute as a required field, all subscriber imports now must include this field. You may want to include a default value so that records can be saved even if a value isn't provided.
If you use the ExactTarget integration with Salesforce, see Attributes for Salesforce Leads and Contacts for details on setting up your ExactTarget attributes.
You can also send eStatements to your customers using data extensions. Data extensions contain information not defined in subscriber attributes, and you can use them to include additional information in your sends.
Use the following steps to create a data extension. After you complete this procedure, you can import data to the data extension and create a data relationship.
1. Click the Subscribers tab from the navigation bar.
2. Click Data Extensions.
3. Click My Data Extensions.
4. Click the Create button.
5. The New Data Extension screen appears.
6. Complete the information in the Properties section:
7. Complete the information in the Type section.
8. Complete the information in the Fields section for each field. Click Add to create a new field in the data extension.
9. Click Save.
Use the following steps to create a data extension with a data extension template. A small number of data extension templates are provided with the ExactTarget application to enable specific use cases, such as data extensions used in couponing solutions.
1. Click the Subscribers tab from the navigation bar.
2. Click Data Extensions.
3. Click My Data Extensions.
4. Click the Create from Template button.
5. Select the checkbox next to the template to use.
6. Click the Select button.
The Data Extension screen appears.
7. Complete the information in the Properties section:
8. Complete the information in the Type section.
9. Complete the information in the Fields section for each field you want to add in addition to the fields that are required for the template. Click Add to create a new field in the data extension.
10. Click Save.
You must include the information necessary to conduct the sends, including the customer's name, email address, and location of their eStatement. You should also include the customer's account number and type in order to use that information in the email and keep track of the customer's information. You might also have customers with multiple accounts, so separate account numbers and types makes sure they get all applicable statements.
To bring information into the sendable data extension, create a new import activity to move information from your source file to the data extension.
If the file to import is encrypted or compressed, you should create a file transfer activity to correspond with this activity. Before you begin this procedure, you must create a subscriber list or data extension into which to import the data. After you complete this procedure, you can start the import activity or include the import activity in a program.
1. Click the Interactions tab on the navigation bar.
2. Click Activities.
3. Click Import.
The Import workspace appears.
4. Click Create from the toolbar.
5. Complete the information in the Properties section:
6. Complete the information in the Source section:
If you select Salesforce Objects & Reports:
If you do not select Salesforce Objects & Reports:
7. Complete the information in the Import Action Settings section:
NOTE: By default, the import activity skips any rows with bad data and imports the rest of the file. Please contact your representative if you have any question as to how your information will be altered during an import activity like this one.
If you select this checkbox, you must enter a threshold, in hours, of how old a file can be and still be imported. You also must enter an offset value, in hours, to be added to the threshold. The offset value accounts for differences in time zone between the application and the system that contains the file to import.
8. Complete the information in the Import Completion Settings section:
9. Click Save.
To use a sendable data extension, you must use a publication list in conjunction with that send. Publication lists allow you to manage subscription information for your customers.
Note: To share your publication list, you must place it in the Shared Items folder.
You can apply publication lists to user-initiated and triggered emails sent through the Interactions tab by completing the following steps:
You can attach several types of documents (detailed in the Email Attachment AMPscript section below) to your eStatement send, although eStatements commonly use .xls or .pdf formats. These documents must be stored on a web server, enhanced FTP site, or in your ExactTarget portfolio.
You can personalize the eStatement email to insert the customer's first and last name, account number, or other information. Review the Personalization document for more information on personalizing emails.
The information below demonstrates how to add an attachment to an email send.
Note: AMPscript email attachments must be enabled in your account before you can use this function. Contact ExactTarget if you would like this feature enabled in your account. You should also contact ExactTarget to adjust the threshold of errors that cause the send job to stop prematurely. This could be helpful in preventing a single error from stopping the entire job.
Attaches a file to an outgoing email message and can include a link to the file when you view the email as a web page:
The following example attaches a PDF document from a website to your outgoing email. The email also includes a link to the file in View As A Web Page with the text "Click here to download your catalog." That link expires from View As A Web Page after four days.
%%=AttachFile("HTTP","http://example.com/catalog.pdf",true,"http://example.com/catalog.pdf","Click here to download your catalog",4)=%%
The next example attaches a Word document from the import folder of the ExactTarget Enhanced FTP site. It also concatenates a new filename from the recipient's full name and the string "NewCatalog.doc" at the time of attachment.
%%=AttachFile("FTP","productCatalog.doc",Concat(FullName,"NewCatalog.doc"))=%%
The following file types can be attached to emails sent through ExactTarget :
As part of the email, you may wish to include part of the customer's account or identification number to help them identify the account to which the eStatement refers. However, including the entire number may present a security risk, so you may wish to only include the last four digits of the account number. That information identifies the account to the user, but it prevents other parties from gaining unauthorized access to the account information. Use the AMPscript function below to shorten the ID number when it is inserted into the email from the subscriber list or the sendable data extension.
Returns the portion of the specified string starting with the specified character position and no longer than the specified length. If the specified character position is greater than the length of the specified string, an empty string is returned.
%%=Substring("abcdef",2,2)=%%
System returns:
bc
Now, apply the example above to an account number. If your customer has an account number of 5555-5555-5555-5564, you can use the Substring() AMPscript function to shorten that to the last four digits after pulling the information from a subscriber list or sendable data extension:
%%[
VAR @AccountNumber
SET @AccountNumber = IDNumber
Substring(@AccountNumber, 16, 4)
]%%
The above AMPscript pulls the IDNumber from the list or data extension into the variable, then uses that variable as the string value from which to pull the last four digits from the account number. That code can be inserted wherever you would like the digits to appear, such as following the text ACCOUNT NUMBER ENDING IN:.
To view the tracking for your eStatement sends, click the email send and select View Data. You will see the tracking information for that send in the tracking results workspace.
The Overview tab gives you insight into the behavioral patterns of subscribers associated with an email campaign or send. You see a thumbnail of the email, eliminating the need to open the email for a preview. When subscribers use Forward to a Friend, you can analyze the success of your campaign by viewing tracking on unique forwards and opt-ins. The Overview tab presents data in pie, bar, and line graph formats, as well as in numbers, percentages, and links. This data can also be saved to PDF and Excel files, as detailed in the section titled How to Create PDF and Excel Files from Tracking Tabs.


The Summary module identifies the email that was sent.
| Term | Description/Calculation |
| Job ID | System-defined number for the email job |
| Name | Name of the email |
| Subject | Subject line used for the send. If the subject line contains a personalization string, that personalization string appears in this field |
| Date Sent | Date and time email was sent in Central Time |
| Total Sent | Number of email messages sent. This value is the number of subscribers in the lists, groups, and/or data extensions that were targeted for this send minus any excluded subscribers |
| Lists | Names of the lists, groups, and data extensions targeted for this send |
| <thumbnail/> | mall view of the email you sent |
| Salesforce Integration Data | If the job is connected to a Salesforce integration, this section contains the displays the campaign or report information (for Salesforce Mass Send) or the Lead or Contact (for Salesforce single sends) data. This also includes any exlcusion data that was part of the send. |

The Send Performance module presents information about the deliverability of the send. A pie chart and legend show the total number of bounces, the number of hard bounces, soft bounces, and delivered messages.
| Term | Description/Calculation |
| Delivery Rate | Number of emails sent minus the number of undeliverables, divided by the number of emails sent. Shown as a percentage. |
| Total Bounces | Total number of addresses to which delivery was not completed. |
| Soft Bounce | Number of attempted sends that are temporarily undeliverable due to:
The system retries soft bounces at preset intervals. After eight tries, it returns a hard bounce to the application. |
| Hard Bounce | Number of attempted sends that are permanently undeliverable due to:
|
| Delivered | Number of emails delivered successfully. Number of emails sent minus the number of total bounces. |
If your account is set up to track block bounces, you will see an additional attribute on your screen.

| Term | Description |
| Block Bounce | Number of attempted sends that are permanently undeliverable due to:
|
Bounce description information can be included in an export of bounce data in both PDF and Excel file formats.
The Open Performance module contains information about subscribers opening the job. A bar graph and legend show the number of total opens and unique opens against the number of messages delivered.

| Term | Definition/Calculation |
| Open Rate | Number of email opens divided by the number of emails delivered. Shown as a percentage. |
| Delivered | Number of emails delivered successfully. Number of emails sent minus the number of total bounces. |
| Total Opens | Total number of times unique subscribers opened the email. This figure reflects only those subscribers who received the HTML version, not subscribers who received and opened a text version. |
| Unique Opens | Number of individual subscribers who opened the email. |
| (#) link | You may click the Unique Opens number link to see a listing of all subscribers in this category. |
The Inbox Activity module contains information about the opens, clicks, forwards, conversions, surveys, and unsubscribes related to the send. This module displays numbers as well as percentages. The Viewing field gives you the option of viewing Current Activity or Activity Over Time.
Click the number of unique clicks to view the following information regarding each click activity:
| Field | Definition/Calculation |
| Viewing | Defines the scope of the information included in the view. Valid values include:
|
| Opens |
You can click the Opens link to see a list of the subscribers in this category. The view shows the Unique value divided by the total number of delivered emails (as a percentage). |
| Clicks |
The view chart shows the Unique value divided by the total number of delivered emails (as a percentage). |
| Forwards |
The view chart shows the Unique value divided by the total number of delivered emails (as a percentage). |
| Conversions |
The view chart shows the Unique value divided by the total number of delivered emails (as a percentage). For information on conversions, see the Conversion Tracking Guide. |
| Surveys |
The view chart shows the Unique value divided by the total number of delivered emails (as a percentage). |
| Unsubscribes | Unsubscribes are the number of subscribers who unsubscribed after the email was sent.
The view chart shows the Unique value divided by the total number of delivered emails (as a percentage). The Unsubscribes figure may continue to rise for some time after the delivery, as subscribers may not unsubscribe immediately after receiving the email. |
| Field | Definition/Calculation |
| Viewing | Defines the scope of the information included in the view. Valid values include:
|
| Opens | Total number of email opens for the send. |
| Clicks | Total number of clicks for the send. |
| Forwards | Total number of forwards for the send. |
| Conversions | Total number of conversions for the send. |
| Surveys | Number of survey responses to the send. |
| Unsubscribes | Number of people who have requested to unsubscribe from this job. |
| Update Grid | You may decide you do not want to view all the activities listed. De-select the corresponding checkboxes for the activities you don't want to view. Then click Update Grid to repopulate the graph. |
Note: Although up to six colors representing six actions appear in the Activity Over Time Grid, it may seem that only a few actions are represented in the graph. This is because some activities may have very low numbers or no numbers at all.
The Unengaged Subscribers module details the total number of messages delivered and lets you know how many of those recipients did not click on or open the message.

| Field | Definition/Calculation |
| Total Delivered | Total number of messages delivered successfully |
| Did Not Click | Total number of recipients that didn't click on any links in the email |
| Did Not Open | Total number of recipients that didn't open the email |
The Forward to a Friend (FTAF) feature helps you grow your existing subscriber lists. You can view how many subscribers forwarded the email, as well as the number of potential subscribers and who subscribed to your list.
| Link | Total | Unique |
| Clicked "Forward" link | A count of all subscribers who clicked the Forward link. | Number of individual subscribers who clicked the Forward link. |
| Forward Activity | A count of all subscribers who forwarded the email to at least one subscriber. | Number of total potential subscribers. Clicking the Unique (#) link displays the subscribers who forwarded the email. |
| New Subscribers | A count of all people who received the forwarded email and then opted in for further mailings and became new subscribers. | Number of individuals who received the forwarded email and then opted in for further mailings and became subscribers. Clicking the Unique (#) link displays the individuals who became subscribers. |
Note any bounces that occurred as part of your sends. If you are legally required to send information to your customers and these emails do not go through, you need to ascertain to whom these sends failed and follow up with additional emails or paper copies.
If you are legally required to follow up bounced emails with paper copies, you can use measures combined with data filters to pull back those customers who experienced hard bounces. For example, you can use the system-defined Total Number of Hard Bounces in 30 Days measure to see who experienced hard bounces during that time period. You can then include that measure in a data filter to create a list of customers with hard bounces and send those customers paper copies of their statements. The measures and data filters can be placed in a program to regularly pull back the information and place it in a file for review.
Because users may reply with questions or requests regarding these statements, you can use reply mail management to send acknowledgments of replies and forward along requests to the appropriate company representatives.
Because your customers will likely share or verify sensitive personal information as part of the sign-up process, make sure that all communications with your company are secure in order to prevent theft of that personal information. Furthermore, you want to use authentication to prevent unauthorized users from entering their email address as the location to which to send eStatements.
If your customers received paper statements in the past, they have likely become used to the placement and organization of information. Keeping a similar layout will help them recognize the authenticity of the information and find what they are looking for much more quickly. You can use PDF files to keep the layout precisely the same, or you can attempt to recreate the layout in a different file. However, it is best to keep the information as similar as possible.
Depending on the needs of your business and your customers, you can set your eStatements to send either in bulk or as single sends. If all customers use the same billing cycle, a bulk send can ease the amount of time you spend on the process. However, if each send requires personal attention, you can choose to maintain them as single sends.
Emails with attachments can cause problems with deliverability of emails, so you need to make sure that your messages adhere to all other deliverability guidelines in order to best assure the email arriving in your customers' inboxes. Consult your ExactTarget deliverability specialists to analyze and improve your eStatements.
If a customer unsubscribes from an eStatement send, you may still be required to provide this information to them in paper form. Track the unsubscriptions from your sends to make sure that all customers get the information they are legally required to receive, either electronically or in paper form.
Customers will send you replies or inquiries regarding these eStatements, and you need to be able to at least monitor these communications to make sure all requests and needs are taken care of. Use reply mail management to acknowledge the receipt of your customer communications and route their replies to the appropriate inbox.
ExactTarget sends eStatements as transactional sends, as they represent activity related to a financial transaction. Therefore, you must maintain the integrity of the transactional send by refraining from inserting marketing messages in these sends. Otherwise, you risk violating CAN-SPAM regulations relating to the sending of unwanted marketing material. You can allow your customers to request additional marketing information as part of their opt-in process, but you should refrain from sending such material unless your customers explicitly opt-in for that information.