Zen Cart Logo
Forums / General Questions / hooking in to zen_email from external .php

hooking in to zen_email from external .php

Locked

Views: 662

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
7 Dec 2007, 6:23 PM
#1
smap avatar

smap

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

7 Dec 2007, 6:45 PM
#2
birdoasis avatar

birdoasis

Inactive

Join Date:
Jun 2005
Location:
Cheney WA
Posts:
1,123
Plugin Contributions:
0

Re: hooking in to zen_email from external .php

That would be very useful.

Also think about adding a supplier email to efax so that you can send the order to the supplier when the order is made.

7 Dec 2007, 7:07 PM
#3
smap avatar

smap

New Zenner

Join Date:
May 2006
Posts:
42
Plugin Contributions:
0

Re: hooking in to zen_email from external .php

birdoasis:

Also think about adding a supplier email to efax so that you can send the order to the supplier when the order is made.

Already placing the orders automatically via a similar process. :smile: Just need to get this done then theoretically we only need to handle exceptions.