{"id":11805,"date":"2018-03-01T08:42:48","date_gmt":"2018-03-01T08:42:48","guid":{"rendered":"https:\/\/kb.sambapos.com\/?p=11805"},"modified":"2019-02-20T09:11:50","modified_gmt":"2019-02-20T09:11:50","slug":"2-4-12-e-how-to-send-reports-as-email-at-end-of-work-period","status":"publish","type":"post","link":"https:\/\/kb.sambapos.com\/en\/2-4-12-e-how-to-send-reports-as-email-at-end-of-work-period\/","title":{"rendered":"2.4.12.e. How to Send Reports as email At End of Work Period?"},"content":{"rendered":"<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>1-Creating New Action:<\/strong><\/span>\u00a0To save the Reports that will be Sent;<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><strong>Action Name:<\/strong>\u00a0Save the Report to File<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;\"><strong>Action Type:<\/strong> Save the Report to File<\/span><br \/>\n<strong><span style=\"font-family: arial, helvetica, sans-serif;\"> Parameters:<\/span><\/strong><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;\"><strong>Report Name:<\/strong> Cash Report<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;\"><strong>File Name:\u00a0<\/strong>C:\\Report\\Cash Report.xps<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11807 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-01-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-01-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-01-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-01-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-01.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>2-Creating New Action:<\/strong><\/span>\u00a0To show message that e-mail has been sent;<\/p>\n<p><span style=\"font-family: arial, helvetica, sans-serif;\"><strong>Action Name:<\/strong> Show Message<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;\"><strong>Action Type:<\/strong> Show Message<\/span><br \/>\n<strong><span style=\"font-family: arial, helvetica, sans-serif;\"> Parameters:<\/span><\/strong><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;\"><b>Message: <\/b>[:Message]<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17852 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-01-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-01-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-01-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-01-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-01.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>3-Creating New Action:<\/strong>\u00a0<\/span>To configure e-mail settings;<\/p>\n<p style=\"padding-left: 30px;\"><strong>Action Name:<\/strong> Send Cash Report Mail<br \/>\n<strong>Action Type:<\/strong> Send E-Mail<\/p>\n<p style=\"padding-left: 30px;\"><strong>Parameters:<\/strong><\/p>\n<p style=\"padding-left: 60px;\">SMTP Server: smtp.server.com<br \/>\nSMTP User:user@mail.com<br \/>\nSMTP Password: ******<br \/>\nSMTP Port: 587 (Might be different according to Smtp server 110,25 etc.)<br \/>\nTo E-mail Address: Addresses that e-mail will be sent.<br \/>\nSubject: Subject might be the file name.<br \/>\nCC Email Addresss: Information mail address.<br \/>\nE-Mail Message: Message that to be sent with e-mails.<br \/>\nFile Name: c:\\Folder\\filename.xps (path of the file)<br \/>\nDelete File: Should be deleted after sending?<br \/>\nBypass ssl Errors:<br \/>\nRetry Count: Retrying count of e-mail.<br \/>\nRetry Minutes: Retrying minute of e-mail.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11809 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-02-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-02-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-02-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-02-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/02\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-02.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>4- Creating New Rule:<\/strong><\/span>\u00a0To send reports by mail when Work Period Ended.<\/p>\n<p style=\"padding-left: 30px;\"><span style=\"font-family: arial, helvetica, sans-serif;\"><strong>Rule Name:<\/strong> Send Reports Mail When Work Period Ended<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;\"><strong>Event Name:<\/strong>\u00a0Work Period Ended<\/span><br \/>\n<strong><span style=\"font-family: arial, helvetica, sans-serif;\">Actions:<\/span><\/strong><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;\">Save Cash Report to file<\/span><\/p>\n<p style=\"padding-left: 30px;\">Show Message<br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;\">Send Mail Cash Report<\/span><br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;\">Configure rule mappings.<\/span><\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17854 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-02-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-02-1024x576.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-02-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-02-768x432.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-02.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p><span style=\"font-size: 14pt;\"><strong>5- Important Notices:<\/strong><\/span><\/p>\n<p style=\"padding-left: 30px;\">a- Pay attention to reading-writing speeds of the folder that you saved the files. If it doesn&#8217;t save the file it gives Access Deny error.<\/p>\n<p style=\"padding-left: 30px;\"><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-11815 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-04-1024x496.jpg\" alt=\"\" width=\"640\" height=\"310\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-04-1024x496.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-04-300x145.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-04-768x372.jpg 768w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/2-4-12-e-How-to-Send-Reports-as-E-mail-At-End-of-Work-Period-04.jpg 1366w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p style=\"padding-left: 30px;\">b- E-mail settings should be controlled carefully.<br \/>\nc- Security permissions and port settings of SMTP server should be controlled.<br \/>\nd- In case of sending multiple reports, it is necessary to create <strong>Saving File<\/strong> action and <strong>Sending Mail<\/strong> action separately for each report.\u00a0Connect these actions to the same rule.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-17856 size-large\" src=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-03-1024x576.jpg\" alt=\"\" width=\"640\" height=\"360\" srcset=\"https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-03.jpg 1024w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-03-300x169.jpg 300w, https:\/\/kb.sambapos.com\/wp-content\/uploads\/2018\/03\/Send-Reports-Email-03-768x432.jpg 768w\" sizes=\"auto, (max-width: 640px) 100vw, 640px\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>In case of sending multiple e-mails it is necessary to put ; (semicolon)<br \/>\n<span style=\"font-family: arial, helvetica, sans-serif;\">Sample: rberto_syn@hotmail.com;rberto_syn@gmail.com;rberto_syn@yahoo.com<\/span><\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&nbsp; 1-Creating New Action:\u00a0To save the Reports that will be Sent; Action Name:\u00a0Save the Report to File Action Type: Save the Report to File Parameters: Report Name: Cash Report File Name:\u00a0C:\\Report\\Cash Report.xps &nbsp; 2-Creating New Action:\u00a0To show message that e-mail has been sent; Action Name: Show Message Action Type: Show Message Parameters: Message: [:Message] &nbsp; [&hellip;]<\/p>\n","protected":false},"author":11,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5,16],"tags":[],"class_list":["post-11805","post","type-post","status-publish","format-standard","hentry","category-installation","category-2-4-sambapos-advanced-setup"],"_links":{"self":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11805","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/users\/11"}],"replies":[{"embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/comments?post=11805"}],"version-history":[{"count":8,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11805\/revisions"}],"predecessor-version":[{"id":17859,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/posts\/11805\/revisions\/17859"}],"wp:attachment":[{"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/media?parent=11805"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/categories?post=11805"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kb.sambapos.com\/en\/wp-json\/wp\/v2\/tags?post=11805"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}