Added email config to Store Config, added Email_lib, refactored email code (#441, #519)

This commit is contained in:
FrancescoUK
2016-06-23 19:26:51 +01:00
parent cf860be1fc
commit 331d97b48f
25 changed files with 408 additions and 45 deletions

View File

@@ -71,7 +71,12 @@ INSERT INTO `ospos_app_config` (`key`, `value`) VALUES
('msg_pwd', ''),
('notify_horizontal_position', 'right'),
('notify_vertical_position', 'top'),
('payment_options_order', 'cashdebitcredit');
('payment_options_order', 'cashdebitcredit'),
('protocol', 'mail'),
('mailpath', '/usr/sbin/sendmail'),
('smtp_port', '465'),
('smtp_timeout', '5'),
('smtp_crypto', 'ssl');
-- --------------------------------------------------------