Had the same problem with a fresh install. I found out that you need to configure the mail queue (as correctly mentioned by @escopecz ) and then you also need to execute the mautic:contacts:scheduled_export
Here is how I got the exported contacts sent to my email:
-
Select the contacts and export them to CSV or Excel
-
Enable the mail queue. Check this:
Mautic configuration settings — Mautic Documentation 0.1 documentation
To make it quick I used Doctrine but I plan to use Redis or RabbitMQ later. -
In a terminal cd to your Mautic folder with the same owner. In my case I did:
cd /opt/mautic
sudo -u www-data -s
but your condiguration might require different folder and user.
- Exec the contacts:scheduled_export:
php /opt/mautic/bin/console mautic:contacts:scheduled_export
You should get an answer like:
Contact export email(s) sent: N
where N is the number of contacts exports you made previously. Please not this is the number of exports, not the number of contacts.
- Exec messenger:consume email:
php /opt/mautic/bin/console messenger:consume email
If your email DSN is configured correctly you should get N emails with the link to download the zipped file with the exported contacts.
You may later put those actions in the cron.
Hope this helps.