New Zenner
- Join Date:
- May 2006
- Posts:
- 42
- Plugin Contributions:
- 0
hooking in to zen_email from external .php
Hi - I receive a .csv file with order confirmations and UPS tracking numbers from a supplier.
I'm writing a program that'll run nightly on a cron job to parse the file, create orders_status_history, and update the orders.orders_status.
I would also like to notify the users via email that their order has shipped and provide the tracking number.
The best way to do that seems to be to hook in to the zen_email function however I'm unclear how to do this given the globals that are used inside that code.
Can anyone help?
Thanks