Sylius: transfer contacts to SmartMailer
CSV from your mailing service or prepared by your administrator
Where to get contacts
If you use a separate newsletter service with Sylius, export your current recipients and unsubscribes from that service. If you record subscriptions in Sylius, ask your administrator to export the email address and "subscribedToNewsletter" status. For records with an active subscription, prepare a CSV with the header "email" and one address per row.
A false value for "subscribedToNewsletter" covers both people who unsubscribed and people who never subscribed. Get actual unsubscribes from your mailing records.
Upload the files to SmartMailer
- Prepare two CSV files with headers: eligible recipients and unsubscribed addresses. If the source provides a spreadsheet or XML file, use a local spreadsheet editor to save the selected columns as UTF-8 CSV. A registration date or purchase history alone does not record newsletter consent.
- In Address books, open Default unsubscribes for addresses unsubscribed from all campaigns. For addresses unsubscribed from just one list, create a separate Unsubscribes address book and select it only in campaigns for that list. Choose Import contacts and map only the e-mail column.
- Import your recipients the same way into a recipient address book. In Column mapping, select E-mail for the address column and Skip for any columns you do not need.
- Check the import results. Before sending a campaign, check that the unsubscribe address book is selected in Record unsubscribes in or Exclude address books. Changes made after a manual transfer stay in the service where you made them.