Mailing List Batches

Batches with fixed content and delivery profiles may be submitted as CSV mailing lists or XML Instruction file. Both files should be submitted to the ftp://ftp.epriority.com/mailing_lists/ directory for pick-up and processing.

Setup is required ahead of time to use this service. The following items are required and fixed:

  • Content template
  • Email Subject
  • From Address
  • From Name
  • To Address mapping to CSV header
  • To Name mapping to CSV header
  • Email ID 1 mapping to CSV header
  • Email ID 2 mapping to CSV header
  • Email ID 3 mapping to CSV header
  • pData mapping to CSV header

Example CSV:

to_address,to_name,account_id,account_type,first_name,last_name
"test1@test.com","Bob Jones","crx44377256","Z","Bob","Jones" 
"test2@test.com","Jane Doe","twd78y528756","D","Jane","Doe" 
...
Example XML:
<batch profile="default" source="mailinglist"
  xmlns:xsd="http://www.w3.org/2001/XMLSchema-instance"
  xsd:schemaLocation="http://www.epriority.com/remote/batchservice.xsd">

  <template>
    <content mfile="test.html" type="text/html" display="body" encoding="base64" charset="utf-8">
    PGh0bWw+Cjxib2R5Pgo8cD4KVGhpcyBpcyBhbiBIVE1MIHRlc3QgZmlsZS4KPC9wPgo8cD4KVGhp
    cyBpcyBhbiBIVE1MIHRlc3QgZmlsZS4KPC9wPgo8cD4KVGhpcyBpcyBhbiBIVE1MIHRlc3QgZmls
    ZS4KPC9wPgo8L2JvZHk+CjwvaHRtbD4K
    </content>

    <header>
     <subject>Your Company,Inc statement is available</subject>
     <from address="from@companyinc.com" name="ePriority"/>
     <reply address="reply@companyinc.com" name="Customer Support"/>
    </header>

    <list>
      <email id="crx44377256" id2="Z">
        <rcpt address="test1@test.com" name="Bob Jones"/>
        <pdata key="first_name" value="Bob"/>
        <pdata key="last_name" value="Jones"/>
      </email>
      <email id="twd78y528756" id2="D">
        <rcpt address="test2@test.com" name="Jane Doe"/>
        <pdata key="first_name" value="Jane"/>
        <pdata key="last_name" value="Doe"/>
      </email>
    </list>

  </template>

</batch>
Mappings for files are:
CSV fieldEmail field
to_addressto address
to_nameto name
account_idemail ID1
account_typeemail ID2
first_namepData
last_namepData