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



Just need to get this done then theoretically we only need to handle exceptions.

