Closed (won't fix)
Project:
Commerce Core
Version:
7.x-1.2
Component:
Developer experience
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
15 Jun 2012 at 14:12 UTC
Updated:
15 Jun 2012 at 18:21 UTC
As of now I have a view that exports a .xls file of all the days orders. Is there any way that I can automatically send that file off in an email say at the end of the day? I tried retrieving it with other server side scripts and curl but had issues . Any recommended modules or advice?
Comments
Comment #1
rszrama commentedSorry, not really sure how you'd go about doing that, but I'm sure it's possible with a good ol' custom module. It's not a feature to be added to Drupal Commerce itself, so you might just search the Drupal forums in general or other modules that deal specifically with creating files server side and e-mailing them.
Comment #2
skalfyfan commentedJust write a basic shell script (E.g http://www.zedwood.com/article/103/bash-send-mail-with-an-attachment) which sends an email with an attachment.
Setup a CRON with your host provider to execute your shell script at a certain point each evening which should then email you your xls file attached at a certain time each day. done.
Comment #3
rszrama commentedw00t! Thanks for the link, skal. : )