{"id":10404,"date":"2015-06-01T06:02:50","date_gmt":"2015-06-01T06:02:50","guid":{"rendered":"http:\/\/www.greytrix.com\/blogs\/sagecrm\/?p=10404"},"modified":"2022-11-04T10:15:56","modified_gmt":"2022-11-04T10:15:56","slug":"how-to-avoid-filing-of-junk-emails-in-sage-crm","status":"publish","type":"post","link":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/","title":{"rendered":"How to avoid filing of Junk emails in Sage CRM"},"content":{"rendered":"<p style=\"text-align: justify;\">In today\u2019s fast growing business world, communication plays a very vital role. And when communication comes into picture, Emails has been proved as the widely used and very effective tool of communication. As we all know, Outbound and Inbound email functionalities are properly embedded through Sage CRM keeping its ease of use in mind. But a very common problem every organization face is, emails that ends up as Junk. In this blog, I will share one tip that would help you to avoid filing of Junk emails in Sage CRM.<\/p>\n<p style=\"text-align: justify;\"><strong><em><span style=\"color: #993300;\">New Stuff:<\/span>\u00a0<\/em><\/strong><a title=\"Capture your target audience effectively\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/05\/27\/capture-your-target-audience-effectively\/\" target=\"_blank\" rel=\"noopener\">Capture your target audience effectively<\/a><\/p>\n<p style=\"text-align: justify;\">Sage CRM provides you the well-organized way to configure inbound emails functionality within Sage CRM. You have to simply navigate to the path <strong>Administration | E-mail and Documents | E-mail Management Server Options<\/strong> and specify the Email Management Server options for each mailbox you want E-mail Management to run on. Once done successfully, the corresponding mails will be loaded in CRM for the respective email id. Similarly, for outbound email functionality you will have to make the necessary settings by navigating to the path <strong>Administration | E-mail and Documents | E-mail Configuration<\/strong>.<\/p>\n<p style=\"text-align: justify;\">However, there occur many such instances when junk\/spam mails gets loaded in crm due to sender\u2019s incorrect email id; or where the email id no longer exists on mail server. In such cases, mails start to bounce back due to delivery failed condition. To avoid such unwanted email files, you just have to include below mentioned script in the <em><strong>BeforeMainAction () Function<\/strong><\/em>.<\/p>\n<p style=\"text-align: justify;\">&lt;Snippet&gt;<br \/>\n\/\/&#8217; GetEmail Sender<br \/>\nsEmailSender = eMail.SenderAddress;<br \/>\nslowercaseEmailSender=sEmailSender.toLowerCase();<\/p>\n<p style=\"text-align: justify;\">if ((sEmailSender==&#8217;postmaster@greytrix.com&#8217;) || (eMail.SenderAddress.indexOf(&#8220;MAILER-DAEMON&#8221;)&gt;=0)<br \/>\n||(eMail.SenderAddress==&#8217;MAILER-DAEMON@MXIP01.GREYTRIX.COM&#8217;)||(eMail.SenderAddress==&#8217;MAILER-DAEMON@MXIP02.GREYTRIX.COM&#8217;)||(eMail.SenderAddress==&#8217;Mailer-Daemon@blinux-u.securehostdns.com&#8217;)|| (slowercaseEmailSender.indexOf(&#8220;mailer-daemon&#8221;)&gt;=0)||(eMail.SenderAddress==&#8217;enquiry@macroinfotech.com&#8217;)|| <span style=\"color: #008000;\">(eMail.SenderAddress==&#8217;accounts@cosmaspharmacls.com&#8217;)|| (eMail.SenderAddress==&#8217;wecare@greytrixonline.com&#8217;))<\/span><\/p>\n<p style=\"text-align: justify;\">{<br \/>\nMsgHandler.Log(&#8220;######&#8221; + sEmailSubject +&#8221;#############&#8221;);<br \/>\nMsgHandler.Log(&#8220;************************Processstopped,MailWasfrompostmaster************************&#8221;);<br \/>\nreturn false;<br \/>\n}<br \/>\n&lt;\/Snippet&gt;<\/p>\n<p style=\"text-align: justify;\">Here, you can mention the domain as well as the email addresses that you want to exclude from filing email in CRM as I have done in\u00a0the section highlighted in green. You can find this function under the scripts folder available on the path \u2013<\/p>\n<p style=\"text-align: justify;\"><em>\u2018Sage\\CRM\\Services\\CustomPages\\Scripts\u2019<\/em><\/p>\n<p style=\"text-align: justify;\">The script in which you make the above changes assume if <em>Support.js<\/em> file, then the same has to be set as template on E-mail Management Server Options screen. Once set, just restart the CRM\u2019s Email Manager Service and you are done.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In today\u2019s fast growing business world, communication plays a very vital role. And when communication comes into picture, Emails has been proved as the widely used and very effective tool of communication. As we all know, Outbound and Inbound email functionalities are properly embedded through Sage CRM keeping its ease of use in mind. But\u2026 <span class=\"read-more\"><a href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/\">Read More &raquo;<\/a><\/span><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[73,131,133,204,332],"tags":[602,1048,1411,1477],"class_list":["post-10404","post","type-post","status-publish","format-standard","hentry","category-configuration","category-email","category-email-server","category-js-file","category-sage-crm","tag-avoid-junk-emails","tag-email-files","tag-inbound-emails","tag-js-file"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to avoid filing of Junk emails in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to avoid filing of Junk emails in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"og:description\" content=\"In today\u2019s fast growing business world, communication plays a very vital role. And when communication comes into picture, Emails has been proved as the widely used and very effective tool of communication. As we all know, Outbound and Inbound email functionalities are properly embedded through Sage CRM keeping its ease of use in mind. But\u2026 Read More &raquo;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/\" \/>\n<meta property=\"og:site_name\" content=\"Sage CRM \u2013 Tips, Tricks and Components\" \/>\n<meta property=\"article:published_time\" content=\"2015-06-01T06:02:50+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2022-11-04T10:15:56+00:00\" \/>\n<meta name=\"author\" content=\"greysagecrm\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"greysagecrm\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"2 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/\",\"name\":\"How to avoid filing of Junk emails in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components\",\"isPartOf\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\"},\"datePublished\":\"2015-06-01T06:02:50+00:00\",\"dateModified\":\"2022-11-04T10:15:56+00:00\",\"author\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\"},\"breadcrumb\":{\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to avoid filing of Junk emails in Sage CRM\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website\",\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/\",\"name\":\"Sage CRM \u2013 Tips, Tricks and Components\",\"description\":\"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f\",\"name\":\"greysagecrm\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g\",\"caption\":\"greysagecrm\"},\"url\":\"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to avoid filing of Junk emails in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/","og_locale":"en_US","og_type":"article","og_title":"How to avoid filing of Junk emails in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components","og_description":"In today\u2019s fast growing business world, communication plays a very vital role. And when communication comes into picture, Emails has been proved as the widely used and very effective tool of communication. As we all know, Outbound and Inbound email functionalities are properly embedded through Sage CRM keeping its ease of use in mind. But\u2026 Read More &raquo;","og_url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/","og_site_name":"Sage CRM \u2013 Tips, Tricks and Components","article_published_time":"2015-06-01T06:02:50+00:00","article_modified_time":"2022-11-04T10:15:56+00:00","author":"greysagecrm","twitter_card":"summary_large_image","twitter_misc":{"Written by":"greysagecrm","Est. reading time":"2 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/","name":"How to avoid filing of Junk emails in Sage CRM - Sage CRM \u2013 Tips, Tricks and Components","isPartOf":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website"},"datePublished":"2015-06-01T06:02:50+00:00","dateModified":"2022-11-04T10:15:56+00:00","author":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f"},"breadcrumb":{"@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/2015\/06\/01\/how-to-avoid-filing-of-junk-emails-in-sage-crm\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/"},{"@type":"ListItem","position":2,"name":"How to avoid filing of Junk emails in Sage CRM"}]},{"@type":"WebSite","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#website","url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/","name":"Sage CRM \u2013 Tips, Tricks and Components","description":"Explore the possibilities with Sage CRM insights through our comprehensive blogs. As a leading Sage partner, Greytrix helps businesses maximize their Sage CRM potential with its rich expertise and immense knowledge. Here, you will find blogs that feature expert advice, tips &amp; tricks, best practices, and comprehensive guides on customizing and configuring Sage CRM for your business. Stay informed with our regular updates and expert insights!","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/e7ff1c8f4763b47730d6bc5e74d59c1f","name":"greysagecrm","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c3b4325cb326e36467f945b9b9adf2bb85e907fe092d42eb36b39743b492e626?s=96&d=mm&r=g","caption":"greysagecrm"},"url":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/author\/greysagecrm\/"}]}},"_links":{"self":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/10404","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/comments?post=10404"}],"version-history":[{"count":1,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/10404\/revisions"}],"predecessor-version":[{"id":26735,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/posts\/10404\/revisions\/26735"}],"wp:attachment":[{"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/media?parent=10404"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/categories?post=10404"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.greytrix.com\/blogs\/sagecrm\/wp-json\/wp\/v2\/tags?post=10404"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}