[ic] Routes: how does copy_user get the email address of the user?

Mathias Picker mathiasp@venus.virtual-earth.de
Wed, 30 Aug 2000 15:48:08 +0200 (CEST)


This is for ic-4.5.3, I did have the areas set up and didn't want to
change to 4.5.5.

I'm not using the standard ordering process of interchange, but rather
load the user session from file, set it and $::Values by hand and then
call route_order and mail_order.

Everything works fine but for one thing: the user never gets an email.
The copy_user route is called, but the email is not set. Both main and
log routes work fine. 

So here's my question: how is the email of the copy_user route normally
set? I can't find it in the code.

Here comes the instantiated routes right from mvdebug:
(The last line, no recipient... is probably from sendmail)

Vend::Order:debug: Route main:
{
          'pgp_cc_key' => '',
          'credit_card' => '0',
          'track' => 'logs/tracking.asc',
          'increment' => '0',
          'encrypt' => '0',
          'default' => 1,
          'attach' => '0',
          'supplant' => 1,
          'email' => 'minivend@virtual-earth.de',
          'cybermode' => '',
          'report' => 'etc/report',
          'receipt' => 'etc/receipt.html',
          'encrypt_program' => 'none',
          'individual_track' => 'orders',
          'pgp_key' => '',
          'errors_to' => 'minivend@virtual-earth.de'
        }
values:
{
          'mv_payment' => 'Lastschrift',
          'mv_action' => 'return',
          'b_state' => '',
          'save_country' => 'DE',
          'mv_username' => 'mathiasp',
          'header_img' => 'header_applications.gif',
          'upload' => '',
          'yes_tables' => '',
          'mv_raw_searchspec' => '',
          'reconfig' => '',
          'mv_matchlimit' => 50,
          'deleteorder' => 'Delete order',
          'quantity0' => 2,
          'files' => '',
          'phone_night' => '',
          'no_functions' => '',
          'p_nickname' => '',
          'b_country' => '',
          'company' => '',
          'vip_request' => 'ord/vip_request',
          'city' => 'München',
          'account_id' => '',
          'b_city' => '',
          'mv_raw_dict_look' => '',
          'mv_order_number' => '0000009',
          'edit' => '',
          'fname' => 'Picker',
          'yes_functions' => '',
          'order_dest' => '',
          'lname' => 'Mathias',
          'mv_order_profile' => 'checkout_profile',
          'mv_cookie_password' => '0',
          'super' => 1,
          'mv_status_mv_email' => 'mv_email set failed.',
          'vip_method' => 'Lastschrift-Form',
          'address_book' => '',
          1 => '',
          'preferences' => '',
          'country' => 'DE',
          'config' => '',
          'vieworder' => 'View order',
          'mv_order_report' => '../etc/report',
          'mv_orderpage' => 'ord/basket',
          'b_phone' => '',
          'mv_arg' => '0000004',
          'test_user' => 'mathiasp',
          'username' => 'mathiasp',
          'accounts' => '',
          'name' => 'Mathias Picker',
          'export' => '',
          'email_copy' => 1,
          'mv_data_table' => 'transactions',
          'mv_searchspec' => [
                               #0
                               'microsoft'
                             ],
          'project_id' => '',
          'meta' => '',
          'b_nickname' => '',
          'b_fname' => '',
          'email' => 'Mathias.Picker@virtual-earth.de',
          'mv_email' => 'Mathias.Picker@virtual-earth.de',
          'mv_order_route' => 'log main copy_user',
          'mv_order_item' => 'A68503-02',
          'b_lname' => '',
          'pages' => '',
          'inactive' => '',
          'b_zip' => '',
          'order_numbers' => ' 000001 000004 000005 000007 000009 000011 000019 000034',
          'mv_checkout' => 'ord/checkout',
          'fax_order' => 1,
          'category' => 'applications',
          'fax' => '',
          'groups' => '',
          'state' => '',
          'archive' => 'false',
          'mv_credit_card_exp_month' => 1,
          'table_control' => '',
          'owner' => '',
          'mv_search_match_count' => '0',
          'mv_credit_card_exp_year' => '00',
          'mv_session_id' => '5LtwbqZa',
          'zip' => 'D81541',
          'mv_password' => 'xxxx',
          'mv_credit_card_type' => '',
          'address1' => 'Brecherspitzstr. 2',
          'phone_day' => '0043509314',
          'no_tables' => '',
          'b_address1' => '',
          's_nickname' => '',
          'address2' => '',
          'address3' => '',
          'b_address2' => '',
          'mv_dict_look' => '',
          'show_basket' => 1,
          'b_address3' => '',
          'mv_shipmode' => 'dp_br',
          'order' => '0000004',
          'carts' => '',
          'mail_list' => '0'
        }

Vend::Order:debug: MIME=1
Vend::Order:debug: Route log:
{
          'cybermode' => '',
          'report' => 'etc/log_transaction',
          'track' => 'logs/log',
          'increment' => '0',
          'encrypt' => '0',
          'attach' => '0',
          'supplant' => '0',
          'empty' => 1
        }
values:
{
          'mv_payment' => 'Lastschrift',
          'mv_action' => 'return',
          'b_state' => '',
          'save_country' => 'DE',
          'mv_username' => 'mathiasp',
          'header_img' => 'header_applications.gif',
          'upload' => '',
          'yes_tables' => '',
          'mv_raw_searchspec' => '',
          'reconfig' => '',
          'mv_matchlimit' => 50,
          'deleteorder' => 'Delete order',
          'quantity0' => 2,
          'files' => '',
          'phone_night' => '',
          'no_functions' => '',
          'p_nickname' => '',
          'b_country' => '',
          'company' => '',
          'vip_request' => 'ord/vip_request',
          'city' => 'München',
          'account_id' => '',
          'b_city' => '',
          'mv_raw_dict_look' => '',
          'mv_order_number' => '0000009',
          'edit' => '',
          'fname' => 'Picker',
          'yes_functions' => '',
          'order_dest' => '',
          'lname' => 'Mathias',
          'mv_order_profile' => 'checkout_profile',
          'mv_cookie_password' => '0',
          'super' => 1,
          'mv_status_mv_email' => 'mv_email set failed.',
          'vip_method' => 'Lastschrift-Form',
          'address_book' => '',
          1 => '',
          'preferences' => '',
          'country' => 'DE',
          'config' => '',
          'vieworder' => 'View order',
          'mv_order_report' => '../etc/report',
          'mv_orderpage' => 'ord/basket',
          'b_phone' => '',
          'mv_arg' => '0000004',
          'test_user' => 'mathiasp',
          'username' => 'mathiasp',
          'accounts' => '',
          'name' => 'Mathias Picker',
          'export' => '',
          'email_copy' => 1,
          'mv_data_table' => 'transactions',
          'mv_searchspec' => [
                               #0
                               'microsoft'
                             ],
          'project_id' => '',
          'meta' => '',
          'b_nickname' => '',
          'b_fname' => '',
          'email' => 'Mathias.Picker@virtual-earth.de',
          'mv_email' => 'Mathias.Picker@virtual-earth.de',
          'mv_order_route' => 'log main copy_user',
          'mv_order_item' => 'A68503-02',
          'b_lname' => '',
          'pages' => '',
          'inactive' => '',
          'b_zip' => '',
          'order_numbers' => ' 000001 000004 000005 000007 000009 000011 000019 000034',
          'mv_checkout' => 'ord/checkout',
          'fax_order' => 1,
          'category' => 'applications',
          'fax' => '',
          'groups' => '',
          'state' => '',
          'archive' => 'false',
          'mv_credit_card_exp_month' => 1,
          'table_control' => '',
          'owner' => '',
          'mv_search_match_count' => '0',
          'mv_credit_card_exp_year' => '00',
          'mv_session_id' => '5LtwbqZa',
          'zip' => 'D81541',
          'mv_password' => 'xxxx',
          'mv_credit_card_type' => '',
          'address1' => 'Brecherspitzstr. 2',
          'phone_day' => '0043509314',
          'no_tables' => '',
          'b_address1' => '',
          's_nickname' => '',
          'address2' => '',
          'address3' => '',
          'b_address2' => '',
          'mv_dict_look' => '',
          'show_basket' => 1,
          'b_address3' => '',
          'mv_shipmode' => 'dp_br',
          'order' => '0000004',
          'carts' => '',
          'mail_list' => '0'
        }

Vend::Order:debug: MIME=
Vend::Order:debug: Route copy_user:
{
          'cybermode' => '',
          'report' => 'etc/mail_receipt',
          'track' => 'logs/log',
          'increment' => '0',
          'encrypt' => '0',
          'attach' => '0',
          'supplant' => '0',
          'empty' => 1
        }
values:
{
          '' => '',
          'mv_payment' => 'Lastschrift',
          'mv_action' => 'return',
          'b_state' => '',
          'save_country' => 'DE',
          'mv_username' => 'mathiasp',
          'header_img' => 'header_applications.gif',
          'upload' => '',
          'yes_tables' => '',
          'mv_raw_searchspec' => '',
          'reconfig' => '',
          'mv_matchlimit' => 50,
          'deleteorder' => 'Delete order',
          'quantity0' => 2,
          'files' => '',
          'phone_night' => '',
          'no_functions' => '',
          'p_nickname' => '',
          'b_country' => '',
          'company' => '',
          'vip_request' => 'ord/vip_request',
          'city' => 'München',
          'account_id' => '',
          'b_city' => '',
          'gift_note' => '',
          'mv_raw_dict_look' => '',
          'mv_order_number' => '0000009',
          'edit' => '',
          'fname' => 'Picker',
          'yes_functions' => '',
          'order_dest' => '',
          'lname' => 'Mathias',
          'mv_order_profile' => 'checkout_profile',
          'mv_cookie_password' => '0',
          'super' => 1,
          'mv_status_mv_email' => 'mv_email set failed.',
          'vip_method' => 'Lastschrift-Form',
          'address_book' => '',
          1 => '',
          'preferences' => '',
          'country' => 'DE',
          'config' => '',
          'vieworder' => 'View order',
          'order_date' => 20000830,
          'mv_order_report' => '../etc/report',
          'mv_orderpage' => 'ord/basket',
          'b_phone' => '',
          'mv_arg' => '0000004',
          'test_user' => 'mathiasp',
          'username' => 'mathiasp',
          'accounts' => '',
          'name' => 'Mathias Picker',
          'export' => '',
          'email_copy' => 1,
          'mv_data_table' => 'transactions',
          'mv_searchspec' => [
                               #0
                               'microsoft'
                             ],
          'project_id' => '',
          'meta' => '',
          'b_nickname' => '',
          'b_fname' => '',
          'email' => 'Mathias.Picker@virtual-earth.de',
          'mv_email' => 'Mathias.Picker@virtual-earth.de',
          'mv_order_route' => 'log main copy_user',
          'mv_order_item' => 'A68503-02',
          'b_lname' => '',
          'order_wday' => 3,
          'pages' => '',
          'inactive' => '',
          'b_zip' => '',
          'order_numbers' => ' 000001 000004 000005 000007 000009 000011 000019 000034',
          'mv_checkout' => 'ord/checkout',
          'fax_order' => 1,
          'category' => 'applications',
          'fax' => '',
          'groups' => '',
          'state' => '',
          'archive' => 'false',
          'mv_credit_card_exp_month' => 1,
          'table_control' => '',
          'owner' => '',
          'mv_search_match_count' => '0',
          'mv_credit_card_exp_year' => '00',
          'mv_session_id' => '5LtwbqZa',
          'zip' => 81541,
          'mv_password' => 'xxxx',
          'mv_credit_card_type' => '',
          'address1' => 'Brecherspitzstr. 2',
          'phone_day' => '0043509314',
          'no_tables' => '',
          'b_address1' => '',
          's_nickname' => '',
          'address2' => '',
          'address3' => '',
          'b_address2' => '',
          'mv_dict_look' => '',
          'show_basket' => 1,
          'b_address3' => '',
          'mv_shipmode' => 'dp_br',
          'order' => '0000004',
          'carts' => '',
          'mail_list' => '0'
        }

No recipient addresses found in header




-- 
                            virtual earth
 Mathias Picker
 Geschäftsführer      Gesellschaft für Wissens re/prä sentation mbH

                            Mathias.Picker@virtual-earth.de 
			    Fon +49 89  / 540 7425-1
                            Fax +49 89  / 540 7425-9