Skip to content
Permalink
Browse files

Wiring email templates

  • Loading branch information...
caseysoftware committed Jun 16, 2014
1 parent f814d17 commit 2f9d36ce325cc3d9d8328dae3021786d8ee8a545
Showing with 6 additions and 0 deletions.
  1. +6 −0 install/sql/056_add_email_templates.sql
@@ -0,0 +1,6 @@

-- Adding the first email templates to the system

INSERT INTO `email_templates` (`email_template_id`, `email_template_identifier`, `email_template_name`, `email_template_language`, `email_template_subject`, `email_template_body`) VALUES
(1, 'new-account-created', 'New Account Created', 'en-us', 'New Account Created', 'Dear {{contact_name}},\n\n\nCongratulations! Your account has been activated by the administrator.\n\nPlease use the login information provided earlier.\nYou may login at the following URL: {{base_url}}\n\n\nIf you have any difficulties or questions, please ask the administrator for help.\n\nOur Warmest Regards,\nThe Support Staff.\n\n****PLEASE KEEP THIS EMAIL FOR YOUR RECORDS****'),
(2, 'new-account-requested', 'HR Email', 'en-us', 'Something HR related', 'A new user has signed up on {{company_name}}. Please go through the user details below:\r\n\r\nName: {{contact_name}}\r\nUsername: {{user_name}}\r\nEmail: {{email_address}}\r\n\r\nYou may check this account at the following URL: {{base_url}}/index.php?m=users&a=view&user_id={{user_id}}\r\n\r\nThank you very much.\r\n\r\nThe {{company_name}} Taskforce\r\n\r\n****PLEASE KEEP THIS EMAIL FOR YOUR RECORDS****');

0 comments on commit 2f9d36c

Please sign in to comment.
You can’t perform that action at this time.