Reach

Preparing your Reach recipient list

This page describes the CSV the Reach dashboard upload accepts and how the importer treats each row. A sample file is at /samples/reach-recipients.csv. The addresses in that file are at example.com and the names are placeholders. Replace the rows with the addresses to import.

Its header row is:

email,first_name,last_name,company,title,phone,city,state

Reach describes the product. The upload control is on the Reach dashboard for the campaign selected there.

File

The file name must end with .csv. The check is those four characters, so a name ending in .CSV is rejected. The file input on the dashboard uses accept=".csv". Before the request, the page rejects a chosen file whose name does not end in .csv and shows “Only CSV files are supported.” The server returns the same sentence when the file name is missing or does not end in .csv.

An empty file is rejected with “File is empty.” A file larger than 50 × 1024 × 1024 bytes is rejected with “File is too large (max 50 MB).”

The importer reads the stored file as UTF-8. It parses the first row as column names, trims each cell, and skips empty lines.

With no campaign selected, the page shows “Select a campaign first.” With no file chosen, it shows “Choose a CSV file.” The upload requires a signed-in session that can open Reach. A session that is not signed in gets “Log in to view Reach.”

Columns

Header names are compared after trimming and lowercasing. A blank cell does not match, and the importer tries the next header in the list. One email column is required. The other columns are optional. A value that matches is stored on the contact. A column whose header is not in this table is not stored on the contact.

Stored on the contactAccepted headers, in the order checkedRequired
emailemail, e-mail, email address, email_address, mailYes
first_namefirst_name, firstname, first name, first, fnameNo
last_namelast_name, lastname, last name, last, lnameNo
companycompany, organization, firm, employer, company_nameNo
titletitle, job_title, job title, positionNo
phonephone, phone_number, phone number, telephoneNo
citycityNo
statestate, provinceNo

The address used for the rest of the import is the email value, lowercased and trimmed.

How rows are handled

A data row is counted once, under the first matching check in this section. An address is accepted when it has one or more characters other than whitespace or @, then @, then one or more of those characters, a period, and one or more of those characters. A row with no email, or an email that fails that check, is counted as invalid and is not imported. A file that has a header and no data rows imports no recipients. Empty lines are skipped by the parser and are not counted as rows.

The same address later in the same file, compared after lowercasing and trimming, is counted as a duplicate and is not imported again.

An address already on the suppression list is counted as suppressed and is not imported. The lookup is the address, so the skip applies on every campaign this importer handles. An unsubscribe writes that list with scope global. A bounce and a complaint write the same list, and those addresses are skipped the same way.

An address that already has a recipient on this campaign is counted as a duplicate and is not imported again. An address that already exists as a contact, and is not yet a recipient of this campaign, reuses that contact and adds a recipient. That row is not counted as a duplicate.

A row that is imported is stored as a recipient with status QUEUED. Provider is set from the domain and is not a column in the file. The domain ending in gmail.com is google. The domain ending in outlook.com, hotmail.com, live.com, or msn.com is microsoft. The domain ending in yahoo.com, aol.com, or verizon.net is yahoo. The domain ending in icloud.com, me.com, or mac.com is apple. Any other domain is other.

After you upload

A successful upload shows “List uploaded. Import will begin shortly.” The file input is cleared. Two seconds later the page loads that campaign again and up to 50 recipients. The reload does not wait for the import to finish.

When the campaign payload includes a metrics object with at least one field, the page lists each field as its name and its count. The campaign response this dashboard calls fills that object with counts named QUEUED, SENT, DELIVERED, BOUNCED, BOUNCE_TEMP, COMPLAINED, and UNSUBSCRIBED. The recipients table has columns Email, Status, and Provider.

The importer also records processed, valid, invalid, suppressed, duplicates, contacts_created, and recipients_created. The Reach dashboard does not show those import counters. It shows the upload message, the status counts above, and the recipients table.

Unsubscribe

Each message the sender builds includes a List-Unsubscribe header with a mailto address and an HTTPS URL, and a List-Unsubscribe-Post header set to List-Unsubscribe=One-Click. A one-click unsubscribe is an HTTPS POST whose body includes List-Unsubscribe=One-Click. That request, a confirmed unsubscribe from the landing page, and a message to the mailto address when its token matches a recipient, each record the address on the suppression list. The importer then skips that address, as described above.