[ic] hacking report??
localhost
interchange-users@icdevgroup.org
Wed May 7 18:31:01 2003
Hello,
I'm looking for a way to hack the etc/report file to send me an email
(to an additional address along with ORDERS_TO) "IF" a certain shipping
method was selected.
Here is the code included for the gpg stuff.
I figured this might be a good place to start because it calls the local
gpg or pgp program somehow.
---------------
[if value mv_credit_card_info]
[tag op=mime
interpolate=1
type=application/pgp-encrypted
description="CreditCard_[value mv_order_number]"]
[value mv_credit_card_info]
[/tag]
[/if]
---------------
I guess I would do somthing like:
[if data shipping-desc == "My Shiping Method"]
echo test |/bin/mail -s test other@email.address
[/if]
I just don't know the syntax.
Any clues?
Thanks
Rick