# configuration_group_id 12
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_TRANSPORT', 'mail', 12, 1, NULL, '', NULL, 'os_cfg_select_option(array(\'sendmail\', \'smtp\', \'mail\'),');
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SENDMAIL_PATH', '/usr/sbin/sendmail', 12, 2, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SMTP_MAIN_SERVER', 'localhost', 12, 3, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SMTP_Backup_Server', 'localhost', 12, 4, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SMTP_PORT', '25', 12, 5, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SMTP_USERNAME', '', 12, 6, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SMTP_PASSWORD', '', 12, 7, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SMTP_AUTH', 'false', 12, 8, NULL, '', NULL, 'os_cfg_select_option(array(\'true\', \'false\'),');
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_LINEFEED', 'LF', 12, 9, NULL, '', NULL, 'os_cfg_select_option(array(\'LF\', \'CRLF\'),');
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_USE_HTML', 'false', 12, 10, NULL, '', NULL, 'os_cfg_select_option(array(\'true\', \'false\'),');
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('ENTRY_EMAIL_ADDRESS_CHECK', 'false', 12, 11, NULL, '', NULL, 'os_cfg_select_option(array(\'true\', \'false\'),');
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('SEND_EMAILS', 'true', 12, 12, NULL, '', NULL, 'os_cfg_select_option(array(\'true\', \'false\'),');
# Constants for contact_us
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('CONTACT_US_EMAIL_ADDRESS', 'contact@name.com', 12, 20, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('CONTACT_US_NAME', '', 12, 21, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('CONTACT_US_REPLY_ADDRESS', '', 12, 22, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('CONTACT_US_REPLY_ADDRESS_NAME', '', 12, 23, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('CONTACT_US_EMAIL_SUBJECT', '', 12, 24, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('CONTACT_US_FORWARDING_STRING', '', 12, 25, NULL, '', NULL, NULL);
# Constants for support system
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_SUPPORT_ADDRESS', 'support@name.com', 12, 26, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_SUPPORT_NAME', 'Название службы поддержки', 12, 27, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_SUPPORT_REPLY_ADDRESS', '', 12, 28, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_SUPPORT_REPLY_ADDRESS_NAME', '', 12, 29, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_SUPPORT_SUBJECT', '', 12, 30, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_SUPPORT_FORWARDING_STRING', '', 12, 31, NULL, '', NULL, NULL);
# Constants for billing system
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_BILLING_ADDRESS', 'billing@name.com', 12, 32, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_BILLING_NAME', 'Службу обработки счетов', 12, 33, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_BILLING_REPLY_ADDRESS', '', 12, 34, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_BILLING_REPLY_ADDRESS_NAME', '', 12, 35, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_BILLING_SUBJECT', '', 12, 36, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_BILLING_FORWARDING_STRING', '', 12, 37, NULL, '', NULL, NULL);
INSERT INTO os_configuration (configuration_key, configuration_value, configuration_group_id, sort_order, last_modified, date_added, use_function, set_function) VALUES ('EMAIL_BILLING_SUBJECT_ORDER', 'Ваш заказ номер {$nr}', 12, 38, NULL, '', NULL, NULL);
[B][COLOR="Red"]INSERT INTO os_configuration_group VALUES ('12', 'CG_EMAIL', '12', '1');[/COLOR][/B]