---
title: "Magento newsletter mass import script"
date: "2012-07-11"
modified: "2013-03-04"
path: "/72-magento-newsletter-mass-import-script.html"
section: "/ramblings"
aliases:
  - "/72"
  - "/72-magento-newsletter-mass-import-script"
  - "/72.html"
  - "/ramblings/72-magento-newsletter-mass-import-script.html"
---

We needed a simple script to get a CSV file of a million newsletter subscribers in to Magento, the solution:

<https://gist.github.com/3089575>

This file is run from the command line using: `php ./newsletter-import.php`
