[ic] Quick question - disabling ORDERS_TO

Jason Timm interchange-users@interchange.redhat.com
Sun Nov 18 22:12:01 2001


> > How would one go about disabling emails from IC?  That is, I have
disabled
> > receipts being sent to the buyers by removing copy_user from the routes,
but
> > it still wants to email the order to the store owner.  I have tried
> > commenting out the email line in the route and setting its value to "",
but
> > both result in the checkout page reloading itself and the order not
being
> > completed.  I have also tried removing the ORDERS_TO value in
catalog.cfg.
> > I have restarted the IC server, applied changes, and beat on the server,
but
> > it doesn't seem to do any good.  Basically, I don't want IC sending out
any
> > emails...
>
> I don't know if this is possible to specify this to IC,
> but you can just send the email
> to a local account where it is directly put into /dev/null.

Just set:

    Route  main  empty  1

That prevents any report email.

-- <mheins@redhat.com>

--------------------------------------------------------------

I tried adding:

empty			1

to Route main, but it causes the checkout page to reload instead of
completing the order.  Here is what I have for main:

## This route emails the order to you unless email is set to "",
## and failsafe-logs the order report a couple of places
Route main  <<EOF
	attach            0
	credit_card       1
	default           1
	email             '__ORDERS_TO__'
      empty			1
	encrypt           0
	errors_to         '__ORDERS_TO__'
	pgp_cc_key        "__PGP_KEY__"
	pgp_key           "__PGP_KEY__"
	receipt           etc/receipt.html
	report            etc/report
	supplant          1
	individual_track  orders
	track             logs/tracking.asc
EOF

I also tried this with email set to "" as the instructions above indicate -
no luck.  It seems that without the email being set to something, it does
not work.  And, actually, the empty setting doesn't seem to work either.

jt