Email Connector: Difference between revisions

From RangerMSP Wiki - PSA software for MSPs and IT services providers
Jump to navigation Jump to search
 
(101 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{usermanualsnav}}
{{usermanualsnav}}
==Introduction==
The RangerMSP Email Connector module allows you to process incoming emails and perform appropriate actions (like creating new Tickets). It also allows you to parse and analyze XML formatted emails that contain new Tickets, Accounts, Assets or other RangerMSP record information.


The Commit Email Connector module allows you to process incoming emails and perform appropriate actions (like creating new Tickets). It also allows you to parse and analyze XML formatted emails that contain new Tickets, Accounts, Assets or other Commit record information.
The RangerMSP Email Connector module automatically provides the following features:
# Generates new Tickets from emails sent by clients to a defined public email address.
# Manages email threads for existing Tickets ([[Ticket Management#Email Distribution via Email Connector|Email Distribution via RangerMSP Email Connector]]).  
# Provides a full API to RangerMSP using XML formatted email messages.


The Commit Email Connector module automatically generates new Tickets from emails sent by clients to a defined public email address. It also provides a full API to Commit using XML formatted email messages.


[[File:Commit_email_connector_overview_chart.zoom542.PNG|center]]
[[File:Email_connector_overview_chart.jpg|center]]


__TOC__


== Email Threading ==
== Email Threading ==
The Email Connector manages email threads for you. If a customer replies to your support email in regards to a specific ticket, or if you, as a technician, reply to the customer, the correspondence will be automatically filed under the ticket in the system.
The Email Connector manages email threads for you. If a customer replies to your support email in regards to a specific ticket, or if you, as a technician, reply to the customer, the correspondence will be automatically filed under the ticket in the system and distributed automatically to the recipients defined for the Ticket.


[[File:Commit_email_connector_flow.gif|center]]
[[File:email_connector_flow.gif|center]]


There are two email threading scenarios:
There are two email threading scenarios:
#A customer replies to Support regarding an email sent from the system, which contains a ticket number in the email subject. In this case, the system files the email under the ticket and forwards the email to the internal email support address.
#A customer replies to Support regarding an email sent from the system, which contains a ticket number in the email subject. In this case, the system files the email under the ticket and distributes it to the Ticket Recipients.
#An employee replies on a customer email, which contains the ticket number in the email subject. The employee then needs to BCC the support email to automatically file the email in the system. When a technician BCCs the Email Connector, the email will be filed in the ticket, and will not be forwarded for manual processing.
#An employee replies on a customer email, which contains the ticket number in the email subject. The employee needs to send the email to the support email address, and RangerMSP Email Connector will automatically file the email in the system and distribute it to the Ticket Recipients. When a technician Cc or Bcc's the Email Connector, the email will be filed in the ticket, and will not be distributed to Ticket Recipients.
Note that this will apply only when the sender email address is defined as one of employee's emails (Email1 or Email2), and the employee is marked as an Active employee in CommitCRM. See more details on matching the email to an account in [[Email Connector#Matching by Email or Domain Name|Matching by Email or Domain Name]].
<br>
 
Note that the email threading management will apply only when the sender email address is defined as one of employee's emails (Email1 or Email2), and the employee is marked as an Active employee in RangerMSP. See more details on matching the email to an account in [[Email Connector#Matching by Email or Domain Name|Matching by Email or Domain Name]]. In both cases, the Email Connector receives the email, finds the ticket in the subject, finds the ticket in the database, and then files the email as a document under the ticket history.
In both cases, the Email Connector receives the email, finds the ticket in the subject, finds the ticket in the database, and then files the email as a document under the ticket.
<br><br>
 
For more details see [[Ticket Management#Email Distribution via Email Connector|Email Distribution via RangerMSP Email Connector]].
[[File:Commit_email_connector_email_threading_flow.gif|center]]
<br><br>
[[File:email_connector_email_threading_flow.gif|center]]
<br>


== Matching by Email or Domain Name ==
== Matching by Email or Domain Name ==
Commit connects an incoming support email to specific accounts based on the full email address of the sender, or by the domain name (if defined for the account).
RangerMSP connects an incoming support email to specific accounts based on the full email address of the sender, or by the domain name (if defined for the account).


If one of your clients has many possible email addresses, you should either add each of the email addresses as the email in the secondary contact (in the Account Contacts tab), or define the client's domain name in one of the Account's email addresses or secondary contacts.
If one of your clients has many possible email addresses, you should either add each of the email addresses as the email in the secondary contact (in the Account Contacts tab), or define the client's domain name in one of the Account's email addresses or secondary contacts.
Line 29: Line 36:
To define a domain name for an account:
To define a domain name for an account:


Set the domain name (e.g. "commitcrm.com") as the email address in one of the following places:
Set the domain name (e.g. "RangerMSP.com", with or without the @ sign) as the email address in one of the following places:
*Account's Email field (in the General tab)
*Account's Email field (in the General tab)
*Account's Email 2 field (in the Address tab)
*Account's Email 2 field (in the Address tab)
Line 39: Line 46:
#Duplicate domain names will create an error when processing the incoming email. Note that the system does not prevent entering duplicate domain names.
#Duplicate domain names will create an error when processing the incoming email. Note that the system does not prevent entering duplicate domain names.


[[File:Commit_email_connector_setup_processing_domain_name.gif|center]]
[[File:email_connector_setup_processing_domain_name.gif|center]]


== Commit Email Connector Setup ==
== RangerMSP Email Connector Setup ==
The Commit Email Connector is a plug-in for the Commit Server. Setting up the Commit Email Connector module includes using general settings used by the Commit Server, and specific settings for the Email Connector plug-in.
The RangerMSP Email Connector is a plug-in for the RangerMSP Server. Setting up the RangerMSP Email Connector module includes using general settings used by the RangerMSP Server, and specific settings for the Email Connector plug-in.


To run the configuration application:
To run the configuration application:
#Log into the Server with a Windows Administrator user. Note that the setup program must run from the same server as the one where the Commit installation sits and from where you plan to run the Email Connector.
#Log into the Server with a Windows Administrator user. Note that the setup program must run from the same server as the one where the RangerMSP installation sits and from where you plan to run the Email Connector.
#Run <Installation_DIR>\Server\ServerConfig.exe
#Run <Installation_DIR>\RangerMSP\Server\ServerConfig.exe


The following window will open:
The following window will open:


[[File:Commit_email_connector_outgoing_setup_window.zoom68.png|center]]
[[File::Server_outgoing_mail_server_settings.png|center]]


The server configuration window consists of the following three tabs:
The server configuration window consists of the following tabs:
#'''Outgoing Mail Server Settings''' - here you can define the settings for all outgoing emails sent by the Commit Server.
#'''Public Email Address''' - the main email address used by you and your clients. All emails sent to this address will be processed by RangerMSP Email Connector.
#'''Email Connector Settings''' - here you can define all the settings for the Commit Email Connector.
#'''Outgoing Mail Server Settings''' - outgoing emails settings for sending emails by the RangerMSP Server.
#'''Email Alerts Settings''' - here you can define all the settings for the Commit Email Alerts (not in the scope of this document).
#'''Email Connector Settings''' - RangerMSP Email Connector settings.
#'''Email Alerts Settings''' - RangerMSP Email Alerts settings (not in the scope of this document).


In order to run the Commit Email Connector, the following settings should be configured (in this order):
In order to use the RangerMSP Email Connector, the following settings should be configured (in this order):
#[[Email Connector#Outgoing Email Settings|Outgoing Email Setup]] - Define the setting for outgoing emails. These settings will be used by the Commit Server for all outgoing emails.
#[[Email Connector#Public Email Address|Public Email Address]] - The Public Email Address is the main support email address (e.g. support@yourdomain.com) to which customers can send support-related emails.
#[[Email Connector#Incoming Email Settings|Incoming Email Setup]] – Set up the mail server and incoming mailbox which manages incoming emails prior to being processed by the Commit Email Connector.
#[[Email Connector#Outgoing Email Settings|Outgoing Email Settings]] - These settings will be used by the RangerMSP Server for all outgoing emails (by RangerMSP Email Connector or RangerMSP Alerts Server).
#[[Email Connector#Advanced Email Processing|Email Processing Setup]] - Define how incoming email is processed. Commit Email Connector reads each email and performs the actions as defined in these settings.
#[[Email Connector#Incoming Email Settings|Incoming Email Setup]] – These settings include the Public Email Address for all emails processed by the RangerMSP Email Connector.
#[[Email Connector#Advanced Email Processing|Email Processing Setup]] - Define how incoming email is processed. RangerMSP Email Connector reads each email and performs the actions as defined in these settings.
#[[Email Connector#Internal Support Team Email|Internal Support Team Email]] - Define settings for the Internal Support Team Email, which is used if the system cannot decide what to do with the Email, or if there are errors.
#[[Email Connector#Internal Support Team Email|Internal Support Team Email]] - Define settings for the Internal Support Team Email, which is used if the system cannot decide what to do with the Email, or if there are errors.
#[[Email Connector#Running Commit Email Connector|Installing and Running Commit Email Connector Service]] - After setting up all of the above, you should actually install the Email Connector service and run it on your server.
#[[Email Connector#Running RangerMSP Email Connector|Installing and Running RangerMSP Email Connector Service]] - After setting up all of the above, you should actually install the Email Connector service and run it on your server.
   
   
Only once the setup is complete can you run the Commit Server and start using the Commit Email Connector plug-in.
Only once the setup is complete can you run the RangerMSP Server and start using the RangerMSP Email Connector plug-in.
 
====Public Email Address====
The Public Email Address is the main support email address (e.g. support@yourdomain.com) to which customers can send support-related emails. Tickets are automatically created out of these emails, and this address is also used to process XML-formatted emails (API) sent by external systems, such as a form on your website.
All Emails sent to this email address will be analyzed and processed by the RangerMSP Email Connector.
<u>Note:</u> This email address should ONLY be used as the incoming email for the Email Connector. You should define a different address for your  internal email which will be used for unrecognized emails and error handling (see [[Email_Connector#Internal_Support_Team_Email|Internal Support Team Email]]).
 
[[File:email_connector_setup_public_email_address_window.png|center]]


To set up the Email Connector, start with the [[Email Connector#Outgoing Email Settings|Outgoing Email Setup]] below.


===Outgoing Email Settings===
===Outgoing Email Settings===
The Outgoing Email settings are used for any outgoing emails sent from Commit Server.
The Outgoing Email settings are used for any outgoing emails sent from RangerMSP Server.


<u>Note:</u> The Outgoing Email settings should be set only once for the Commit Server, so '''if you already defined this for the [[Alerts Server|Email Alerts Server]], you can skip this step.'''
<u>Note:</u> The Outgoing Email settings should be set only once for the RangerMSP Server, so '''if you already defined this for the [[Alerts Server|Email Alerts Server]], you can skip this step.'''


The Outgoing Email settings should be set in the Outgoing Mail Server tab.
The Outgoing Email settings should be set in the Outgoing Mail Server tab.


[[File:Commit_email_connector_outgoing_setup_window_with_data.gif|center]]
[[File:server_outgoing_mail_server_settings.png|center]]


To reduce errors and improve security, it is strongly recommended to use SMTP authentication, with a user name and password for SMTP access.
To reduce errors and improve security, it is strongly recommended to use SMTP authentication, with a user name and password for SMTP access.
Line 86: Line 102:
**'''User Name''' - the User Name to be used for SMTP authentication
**'''User Name''' - the User Name to be used for SMTP authentication
**'''Password''' - the password related to the specified User Name
**'''Password''' - the password related to the specified User Name
 
<br>
'''Note:''' If you use '''SSL on your Email servers''', this should be automatically supported (for users working with RangerMSP 6.0 or higher). If for some reason you are facing problems connecting via SSL, please contact our support directly ar support@RangerMSP.com.
<br><br>
<u>Verification Tests (required!):</u>
<u>Verification Tests (required!):</u>


Line 96: Line 114:
===Incoming Email Settings===
===Incoming Email Settings===
After setting up the Outgoing Email settings, you should now define the incoming mailbox settings.
After setting up the Outgoing Email settings, you should now define the incoming mailbox settings.
Setting up the Incoming Email Settings includes four steps:
#Setting up the Email Connector Status
#Setting up the Public Email Address
#Setting up the Incoming Mail Server
#Setting up the Backup option (optional)


To set up the Incoming settings, go to the Email Connector tab:
To set up the Incoming settings, go to the Email Connector tab:


[[File:Commit email connector setup incoming window.gif|center]]
[[File:email_connector_setup_incoming_window.gif|center]]


In this window, fill in the settings as explained in the following sections:
In this window, fill in the settings as explained in the following sections:
   
   
#[[Email Connector#Email Connector Status|Email Connector Status]]
#[[Email Connector#Email Connector Status|Email Connector Status]].
#[[Email Connector#Public Email Address|Public Email Address]]
#[[Email Connector#Public Email Address|Public Email Address]] (defined separately in the Public Email Address tab).
#[[Email Connector#Incoming Mail Server|Incoming Mail Server]]
#[[Email Connector#Incoming Mail Server|Incoming Mail Server]].
#[[Email Connector#Backup Settings (optional)|Backup Settings (optional)]]
#[[Email Connector#Backup Settings (optional)|Backup Settings]] (optional).


====Email Connector Status====
====Email Connector Status====
The Commit Email Connector status can be one of the following:
The RangerMSP Email Connector status can be one of the following:<br>
'''ON''' (default) - Commit Email Connector is active and processes incoming emails.<br>'''OFF''' – Commit Email Connector is not active and does not process incoming emails (emails are left in the defined mailbox until you review them manually or turn the connector to ON again.
'''ON''' (default) - RangerMSP Email Connector is active and processes incoming emails.<br>'''OFF''' – RangerMSP Email Connector is not active and does not process incoming emails (emails are left in the defined mailbox until you review them manually or turn the connector to ON again.


Note that in order for the status changes to take effect, you should '''restart Commit Server Service''' (see Running Commit Email Connector).
Note that in order for the status changes to take effect, you should '''restart CRM Server Service''' (see Running RangerMSP Email Connector).


====Public Email Address====
The Public Email Address is the main support email address (e.g. support@yourdomain.com) to which customers can send support-related emails. Tickets are automatically created out of these emails, and this address is also used to process XML-formatted emails (API) sent by external systems, such as a form on your website.
All Emails sent to this email address will be analyzed and processed by the Commit Email Connector.
<u>Note:</u> This email address should ONLY be used as the incoming email for the Email Connector. You should define a different address for your  internal email which will be used for unrecognized emails, error handling and direct email threads with your customers (see Internal Support Team Email).


====Public Incoming Mail Server====
====Public Incoming Mail Server====
Line 134: Line 140:
<u>Logon Information</u><br>'''User Name''' - this is the incoming public support email account used for the Incoming email address described above.<br>'''Password''' - the password for this email account.
<u>Logon Information</u><br>'''User Name''' - this is the incoming public support email account used for the Incoming email address described above.<br>'''Password''' - the password for this email account.


<u>Note:</u> To use Commit Server service with Microsoft Exchange servers, ensure that POP3 is enabled for the relevant account in the Exchange server.
<u>Note:</u> To use CRM Server Service with Microsoft Exchange servers, ensure that POP3 is enabled for the relevant account in the Exchange server.
 
'''Note regarding SSL: If you use SSL on your Email servers, please [[KB:_Setting_up_Email_Connector_and_Alerts_Server_with_SSL|read this article]] in order to find out how to set up the RangerMSP Email Connector with SSL.'''
   
   
<u>Misc.</u><br>'''Test''' - click Test to verify that your account is working. If there is missing or incorrect information, such as your password, you will be prompted to supply or correct it.<br>'''Advanced''' - set up timeouts for the connection and polling interval (in most cases you should use the default values).
<u>Misc.</u><br>'''Test''' - click Test to verify that your account is working. If there is missing or incorrect information, such as your password, you will be prompted to supply or correct it.<br>'''Advanced''' - set up timeouts for the connection and polling interval (in most cases you should use the default values).
Line 140: Line 148:
After filling in the information on this screen, we recommend you test your account by clicking the Test button (requires you to run the setup program from the Server).
After filling in the information on this screen, we recommend you test your account by clicking the Test button (requires you to run the setup program from the Server).


====Backup Settings (optional)====
<br><br>
 
===Email to Ticket Settings===
After setting up the [[Email Connector#Incoming Email Settings|Incoming Email Settings]], you should now define the settings which will be used when converting incoming emails into Tickets in the system.
 
When receiving a new incoming email, the system recognizes the email sender's address or domain from the RangerMSP Accounts database; it automatically opens a Ticket and copies the email content into the Ticket description (the text/plain part). The Ticket will be automatically linked to the Account that matches the email address.
 
Incoming emails which relate to existing Tickets will be filed under the Ticket History. See more details in [[Ticket Management#Email Distribution via Email Connector|Email Distribution via RangerMSP Email Connector]].
<br>
====Matching by Email or Domain====
Matching the incoming email to a RangerMSP Account is performed based on the full email address of the Account, or by the domain name (if defined for the account). This is because clients may be using generic email addresses (such as Yahoo®, Gmail®, etc.) and the system cannot rely on any domain name. If one of your clients has many possible email addresses, you should either add each of them as a secondary contact (in the Account Contacts tab), or define the client's domain name in one of the Account's email addresses or secondary contacts. See more details in [[Email Connector#Matching by Email or Domain Name|Matching by Domain Name]].
 
====Auto-Response Settings====
You can configure the system to automatically send response emails to customers, confirming that a new ticket has been created for their email message.
 
to configure the automatic response settings, scroll down to the Email to Ticket tab:
[[File:email_connector_setup_auto_reponse.png|center]]
 
To activate the Auto-Response feature:<br>
#'''Send Response''' – Select this option in order to send automatic email responses and notify your customers who sent emails that became new Tickets.
#'''Use the following Email Template''' – Choose the Ticket Email Template which will be used when sending the auto-response email for new Tickets.
 
See more advanced options for the Auto-Response feature in [[Email Connector#Advanced Options|Advanced Options]].
<br>
 
====Email messages from unrecognized senders====
When creating tickets from unrecognized senders is enabled, such email messages are converted into the Tickets under your business record. The ticket then can be easily reassigned to the relevant Account. See [[Ticket_Management#Move_a_Ticket_from_one_Account_to_another|Move a Ticket from one Account to another]].
 
Use ServerConfig to turn this feature on or off:
 
Notes:
Verify that you have a Spam filter installed on your mailbox, otherwise all spam messages will get converted into tickets!
 
[[File:Server_config_uknown_sender.png|center]]
 
====Advanced Options====
Note that the Email Connector also provides more advanced processing options, such as using the Email Connector as an API (via XMl transactions), or using Automated Emails. You can read more about the advanced Email Connector options in the [[API by Email and MSP Integration|Advanced Email Processing]] section.
 
Clicking the ''Advanced Options'' button in the Email to Ticket tab opens the following window:
 
Here you can define the following options.
 
[[File:email_connector_setup_advanced.gif|center]]
<br>
=====Store-Folder Settings=====
When creating Tickets from emails, all original email files (.eml) are stored on a dedicated folder on your server's local disk, so that they can be attached to their Ticket.<br><br>
 
Using this option you can define an alternative default filing folder on your server. Note that this is an advanced option that should only by used by advanced users. Please contact support@RangerMSP.com before using this option.
 
<br>In order for the Email Connector service to be able to save the emails in the new folder, you must configure the folder location so that the service will have the correct access to it.<br><br>
 
In the Default Filing Folder, and define both paths, as the server recognizes it and as the client recognizes it.
 
[[File:email_connector_setup_default_filing_folder_advanced.gif|center]]
 
 
=====Backup Settings (optional)=====
Once an incoming email has been processed by the system, it is removed from the email server (i.e. deleted from the mailbox).
Once an incoming email has been processed by the system, it is removed from the email server (i.e. deleted from the mailbox).
For backup and tracking purposes, you can automatically forward all emails to a dedicated email account for storing.
For backup and tracking purposes, you can automatically forward all emails to a dedicated email account for storing.


This is an advanced option, and we do not recommend on using it without consulting our support team at support@RangerMSP.com.
[[File:email_connector_setup_backup_advanced.gif|center]]
<br>
To set up the backup email account:<br>'''Backup ALL Incoming Emails''' – select this option to activate the backup.<br>'''Send ALL to this Email Address''' – Enter the Backup Email Address which will be the backup mailbox. Note that this must be a different email address than the Email Connector Incoming Email Address to avoid deadlocks where the backup email is being sent to the Incoming Email Address over and over again
To set up the backup email account:<br>'''Backup ALL Incoming Emails''' – select this option to activate the backup.<br>'''Send ALL to this Email Address''' – Enter the Backup Email Address which will be the backup mailbox. Note that this must be a different email address than the Email Connector Incoming Email Address to avoid deadlocks where the backup email is being sent to the Incoming Email Address over and over again


After completing these settings, move on to the next step > Setting up [[Email Connector#Email to Ticket Settings|Email Processing Settings]] email-to-ticket settings).
After completing these settings, move on to the next step > Setting up [[Email Connector#Email to Ticket Settings|Email Processing Settings]] email-to-ticket settings).


===Email to Ticket Settings===
=====Automatically Add Ticket Email Recipients=====
After setting up the [[Email Connector#Incoming Email Settings|Incoming Email Settings]], you should now define the settings which will be used when converting incoming emails into Tickets in the system.
As part of the Email Connector email threading management, it offers the ability to automatically scan processed email message headers to find relevant email recipients (To and Cc) and automatically add them as Recipients in the relevant Ticket in RangerMSP.
 
Administrators can control whether to activate the automatic scanning of email messages for recipients from this window under ''General Settings > Automatically find and add Ticket Recipients''.
 
[[File:email_connector_setup_email_header_scan_advanced.gif|center]]
<br>
In this window you can determine whether to automatically find and add ticket recipients for employees or external recipients.
 
See [[Ticket_Management#Automatically_Add_Ticket_Email_Recipients|Automatically Add Ticket Email Recipients]] in the Ticket Management user guide for more details about this powerful feature.
 
=====Auto-Response Advanced Options=====
Clicking the Auto-Response Emails options button opens the following window:
 
[[File:email_connector_setup_auto_reponse_advanced.png|center]]
<br>
Here you can define the following options:
#'''Embed Web Links''' - Web Links allow your customers to quickly open the customers' Web portal and view or edit the Ticket details. This saves the need to go explicitly to the Web Interface site, login and search for the Ticket in order to see its details. Choosing this option will add Web Links if defined in the email template selected above. <br>''Note: Web Links require using RangerMSP Web Interface for Customers, and that Web Links are enabled in Options > Web Interface tab.''
#'''Attach the original email to each response''' – Select this option to attach the original email sent by the client to the response email.
 
 
 
 
=====Send Auto-Response to all external recipients=====
 
When this feature is enabled, auto-response emails sent by the Email Connector will be sent to all Ticket Recipients – this includes those marked in RangerMSP as default recipients for the Account as well as all other recipients existing in the original customer email. This way everyone can easily participate in the email thread and their reply will automatically be filed under the Ticket in RangerMSP.
 
[[File:email_connector_setup_send_auto_response_to_all_external_recipients.png|center]]
 
====Auto Adding of New Secondary Contacts for Recognized Account====
If an email arrives from a new address and the sender domain exists in the Accounts database then a new Secondary Contact can be automatically created under the relevant Account, with the email sender display name taken as the Contact Name.
 
If appropriate, a new Ticket is created with that new Secondary Contact set as the Ticket Contact. If the email is a reply to an existing Ticket from a previously unknown sender at the known domain then a Secondary Contact is created based on the new sender.
 
To configure this:
 
#Run the '''ServerConfig''' utility.
#Click the '''Email Connector''' tab.
#Go to '''Advanced Options'''.
#Click '''Configure''' in the '''General Settings''' section
#Check the relevant box to enable/disable.
 
[[File:Auto-add-secondary-contact.png]]
 
<br><br>


When receiving a new incoming email, the system recognizes the email sender's address or domain from the Commit Accounts database; it automatically opens a Ticket and copies the email content into the Ticket description (the text/plain part). The Ticket will be automatically linked to the Account that matches the email address.
====Auto-append the thread Subject with the Account and sender names====
The Account Name (File as… field) and Sender Name are added to the email subject line of emails distributed to employees. This way employees on the field can easily detect the Account related to the email correspondence.
This helps overcome cases where the customer email did not include the customer name or in cases where the mail server overwrites the Sender Name with the mailbox name of the email connector.


'''Match by Email or Domain'''


Matching the incoming email to a Commit Account is performed based on the full email address of the Account, or by the domain name (if defined for the account). This is because clients may be using generic email addresses (such as Yahoo®, Gmail®, etc.) and the system cannot rely on any domain name. If one of your clients has many possible email addresses, you should either add each of them as a secondary contact (in the Account Contacts tab), or define the client's domain name in one of the Account's email addresses or secondary contacts. See more details in [[Email Connector#Matching by Email or Domain Name|Matching by Domain Name]].
[[File:Auto_append_account_sender_name.png]]


While creating a new ticket, the system can:
<br><br>
*Store the original email and link it to the ticket
*(Optional) Send an automatic response to the email sender or forward the response to an internal email for backup purposes


Setting up the Email Processing includes:
====Automatically open closed Tickets when customers reply====
#Setting up Automatic Response options to the customer, and defining a BCC address for responses.
With this option enabled, customer email replies to closed tickets will automatically open the Ticket bringing it back to the open Tickets queue.
#Setting up the Store Folders in which the original email will be saved


Setting up the required parameters for this is done in the following window:
Disabling this option will push such replies to the Ticket Inbox, however, the Ticket status will be kept intact.


[[File:Commit_email_connector_setup_processing_window.gif|center]]


#Setting up the Response Parameters:<br>To send automatic responses to clients who have sent emails, set the following parameters:
[[File:Email_connector_reopen_ticket_settings.png]]
#*Send Response – Select this option in order to send automatic email responses and notify your customers who sent emails that became new Tickets.
#*Edit response Text – Click this button to edit the text of the response email.
#*Attach the original email to each response – Select this option to attach the original email sent by the client to the response email.
#*BCC email response to (optional) - You can select this option to automatically BCC your own support team to be notified, via email, on all responses to customers emails that became new Tickets (DO NOT set the BCC email address to be the same as the Email Connector Incoming Email Address, which is being processed by the Email Connector).
#Setting up Store Folder:<br>This is the folder on the server's local disk in which emails that became Tickets are stored so that they can be attached to their Ticket.<br><br>Ideally, all emails that create a ticket for a specific account, will be stored in the account's Documents folder (each account's has a default folder defined for storing documents; click the account's Details tab to see the Docs Dir field). This way you will have all of the files that are relevant for a specific account, located in the same physical place on your server. All email files are saved as .eml files.<br><br>In order for the Email Connector service to be able to save the emails in each account's folder, you must configure the folder location so that the service will have the correct access to it.<br><br>This requires setting up the main Documents folder (under which you save all account's files) in the Allow Folders list. Setting up the folder teaches the Email Connector service how to map between the path appearing in the application as the account's Documents folder, and the way it can be accessed by the service itself.<br><br>Setting up the Allow Folders list includes setting up two paths:
#*The path recognized by the Commit Client application, so it will be able to identify the correct path as it appears in the account's documents folder
#*The path recognized by the server as a local folder on the computer


[[File:Commit_email_connector_setup_store_folders.gif|center]]
<br><br>


After setting up the Allow Folders, you should also set up the Default Filing Folder, which will be used as a backup if the service cannot access the Account's documents for some reason (e.g. due to permissions issues). The Default Filing Folder will be used for such cases, to make sure the service can store the email.
====Show Ticket in Dispatcher====
New Tickets that are created by Email Connector automatically appear in the Dispatcher Ticket list by default. This means that all new Tickets that are created will automatically be marked as "To be Dispatched" by the system.
Go to Default Filing Folder, and define both paths, as the server recognizes it and as the client recognizes it.


[[File:Commit_email_connector_setup_store_folders_default.gif|center]]
Users can change this behavior:
# From any RangerMSP client, go to ''Tools > Options > Tickets-1'' tab.
# Select or deselect the option ''Show in Dispatcher > By default, set to display new Tickets in Dispatcher'' to make the system behave as you require.
# Then restart CRM Server Service on your server so new Tickets will be marked accordingly.


After completing these settings, move on to the next step > Setting up Internal Support Team Email (for forwarding emails).
''Note: The Show in Dispatcher flag can be modified by any user and it affects tickets being created from anywhere - in the client application, by the RangerMSP Email Connector or by other applications. Make sure you use it consistently.
''


Note that the Email Connector also provides more advanced processing options, such as using the Email Connector as an API (via XMl transactions), or using Automated Emails. You can read more about the advanced Email Connector options in the [[API by Email and MSP Integration|Advanced Email Processing]] section.


====Notifying Customers and Techncians on new Tickets====
====Notifying Customers and Technicians on new Tickets====
Email Connector allows you to notify your customers that the emails they sent became new Tickets.
Email Connector allows you to notify your customers that the emails they sent became new Tickets.
   
   
Line 197: Line 299:


All automatic responses are automatically forwarded back to the Email Connector, and filed under the Ticket as part of the ticket history.
All automatic responses are automatically forwarded back to the Email Connector, and filed under the Ticket as part of the ticket history.
====Assigning SLA to New Tickets Automatically====
Tickets that are created automatically by the Email Connector, can be automatically assigned to an SLA by defining a default SLA for the Account or for the default Contract of this Account (see [[Contracts#How_does_the_system_select_a_Default_Contract.3F|How does the system select a Default Contract?]]). The [[SLA|SLA Feature]] helps you provide services to your customers within the time frame agreed with them.
If a default SLA is defined for the Account (see [[SLA#Default SLA for Accounts and Contracts|Default SLA for Accounts and Contracts]]), the ticket created by Email Connector will be automatically assigned to it.
<br><br>


===Internal Support Team Email===
===Internal Support Team Email===
Line 202: Line 310:
After setting up the [[Email Connector#Outgoing Email Settings|Outgoing Email Settings]] and the [[Email Connector#Email to Ticket Settings|Email to Ticket Settings]], you should now define the Internal Support Team Emails (for forwarding purposes).
After setting up the [[Email Connector#Outgoing Email Settings|Outgoing Email Settings]] and the [[Email Connector#Email to Ticket Settings|Email to Ticket Settings]], you should now define the Internal Support Team Emails (for forwarding purposes).


The Internal Support Email address is your main activity support mailbox which should be constantly reviewed by your support team. This mailbox will be used by the system in cases where the system cannot decide what to do with the email or when it receives a reply to an email thread which relates to an already existing Ticket, such as a customer replying to an automatic Ticket creation response email. The Email Connector will automatically forward these messages to this email address which should be reviewed by a "human" support team to identify emails which need to be handled manually.
The Internal Support Email address is your main activity support mailbox which should be constantly reviewed by your support team. This mailbox will be used by the system in cases where the system cannot decide what to do with the email. The Email Connector will automatically forward these messages to this email address which should be reviewed by a "human" support team to identify emails which need to be handled manually.
 
In case the email relates to an already existing Ticket, the system will identify this and forward the email to the Internal Support Team Email for manual handling.


Identifying an already existing Ticket is performed in two phases:
<u>Note:</u> If the Ticket was not found in the RangerMSP database, the email will be forwarded to the Internal Support Team email, with an error indicating that the Ticket cannot found.
#Identify the source of the email as a valid Account in your system.
#Identify the Ticket number in the Email Subject and forward this message without opening a new Ticket for it.
 
<u>Note:</u> If the Ticket was not found in the Commit database, the email will still be forwarded, with an error indicating that the Ticket cannot found.


The Internal Support Email Address is set in the following window:
The Internal Support Email Address is set in the following window:


[[File:Commit_email_connector_setup_internal_email_window.gif|center]]
[[File:email_connector_setup_internal_email_window.png|center]]
 
'''Email Address''' - This is an internal mailbox which will be used by your support team (e.g. support-internal@yourdomain.com). This mailbox should be manually reviewed  on a regular basis to make sure there are no customer issues awaiting response which were filtered out for one of the reasons listed above, and to make sure that other email threads also receive the appropriate response.


<u>General Settings</u><br>You can select to have unrecognized/error emails forwarded either as attachments or as is:<br>'''Send original as an Attachment''' – Attach the original email to a new message.<br>'''Send original As-Is''' – Send the original email in its original form (i.e. with the same "From" address) directly to the Internal Support Team Email Address. This option is usually more convenient, though it may not be supported by your mail server as it demands support relaying.
'''Email Address''' - This is an internal mailbox which will be used by your support team (e.g. support-internal@yourdomain.com). This mailbox should be manually reviewed  on a regular basis to make sure there are no customer issues awaiting response which were filtered out for one of the reasons listed above.




'''The Internal Support Email address is used for the following purposes:'''
'''The Internal Support Email address is used for the following purposes:'''
#'''Unrecognized emails''' – Unrecognized emails from new customers not yet in the Commit database will be forwarded to this address (and no Ticket will be created).
#'''Unrecognized emails''' – Unrecognized emails from new customers not yet in the RangerMSP database will be forwarded to this address (and no Ticket will be created).
#'''Error Handling''' - Emails which could not be processed due to errors during the process (such as the wrong format in XML formatted emails) will be forwarded to this mailbox.
#'''Error Handling''' - Emails which could not be processed due to errors during the process (such as the wrong format in XML formatted emails) will be forwarded to this mailbox.


Line 228: Line 328:
   
   


After setting up all of the above, you are now done with the setup and can move on to actually running the service and activating the Email Connector. See more details in Running Commit Email Connector.
After setting up all of the above, you are now done with the setup and can move on to actually running the service and activating the Email Connector. See more details in Running RangerMSP Email Connector.


<br>
<br>


==Running Commit Email Connector==
==Running RangerMSP Email Connector==
After you finish setting up all of the required settings (see Commit Email Connector Setup Overview), you can move on to the next step and install the Email Connector service.
After you finish setting up all of the required settings (see RangerMSP Email Connector Setup Overview), you can move on to the next step and install the '''CRM Server Service'''.


The Commit Email Connector runs as a plug-in for the Commit Server. The Commit Server runs as a Windows Service on your server.
The RangerMSP Email Connector runs as a plug-in for the CRM Server Service. The RangerMSP Server runs as a Windows Service on your server.


'''Before you install the Commit Email Connector'''
====Before you install the RangerMSP Email Connector====
#Make sure to complete the Setup steps prior to installing the Windows Service.
#Make sure to complete the above Setup steps prior to installing the Windows Service.
#Make sure to allow the Commit Email Server Service in your DEP settings.
#Make sure to allow the RangerMSP Email Server Service in your DEP settings.
<br>
====Install Service====
'''This part of the installation should be performed on the server itself.


'''Install:'''<br>This part of the installation should be performed on the server itself.


When logged in to the server with a Window's Administrator account, open a command prompt window and enter the following command:
<u>Automatic installation</u> &nbsp;&nbsp;&nbsp; &nbsp;    (requires RangerMSP 14 and up)


<Installation_DIR>\Server\CommitServer.exe -install
Log in to to your Server with a Window's Administrator account and run the installer from:
<blockquote>'''''<Installation_DIR>\RangerMSP\Utils\Install\InstallServerSideWindowsServices.exe'''''</blockquote>
<br><br>


<u>Note:</u> The <Insallation_Dir> must refer to a LOCAL server path (e.g. c:\ or D:\Software, etc.) and NOT to a shared network name/path.
OR &nbsp;&nbsp;- &nbsp;<br><br>
<u>Manual installation</u>
# Open a command prompt window: Right-click the command prompt icon and and choose 'Run As Adminsitrator'.
# Type the following command:<br><blockquote><tt><Installation_DIR>\RangerMSP\Server\CRMServer.exe -install</tt></blockquote><u>Note</u>: The <Installation_Dir> must refer to a LOCAL server path (e.g. C:\ or D:\Software, etc.) and NOT to a shared network name/path.
# Wait for a success message to appear, indicating the service was installed successfully.
# Open the Windows Services Management windows from <i>Control Panel > Administration Tools > Services</i>.
# Verify that a Window's service called '''RangerMSP Server''' is now displayed the services list.
# If the service is not there, make sure again that you are running the command prompt Window using 'Run as Administrator' and try again.


A service called CommitServer should now be displayed in the system services management window (Control Panel > Administration Tools > Services).
====Running CRM Server Service====
#Once the CRM Server Service is installed, setup the RangerMSP Alerts Server as explained in RangerMSP Alerts System Settings.
#You should also make sure all the users (employees) configure their own Email Alert settings so they will receive Alerts.
#Open the Windows Services Management windows from Control Panel > Administration Tools > Services.
#Locate the CRM Server Service and start the service (right-click > Start).
# Make sure that it is set to start automatically with a ''Delayed Start'' ('''Startup type > Automatic Delayed Start''') each time the server is restarted.
# (Optional) Allow the CRM Server Service in your Windows' Server DEP settings. DEP can be found under Windows: System Properties -> Advanced -> Performance - Settings -> tab DATA EXECUTION PREVENTION.


'''Start the Service:'''<br>Using the Window's Services Management window, start the service (right-click > Start).
'''Troubleshooting:'''<br>In any case of problems, see the [[Email Connector Troubleshooting | RangerMSP Email Connector Troubleshooting]].
Make sure that the service is running and that it is set to start automatically (Startup type > Automatic) each time the server is restarted.


'''Troubleshooting:'''<br>In any case of problems, see the [[Email Connector#Troubleshooting|Troubleshooting]] section below.
====Uninstall Service====
 
To Uninstall CRM Server Service:
'''Uninstall:'''
# Open the Windows Services Management windows from Control Panel > Administration Tools > Services.
To Uninstall Commit Server stop the CommitServer service and then type the following command in a command prompt window on the server:
# Stop the CRM Server Service.
 
# Open a command prompt window: Right-click the command prompt icon and and choose 'Run As Adminsitrator'.
<Installation_DIR>\Server\CommitServer.exe -uninstall
# Type the following command: <br><blockquote><tt> <Installation_DIR>\Server\CRMServer.exe -uninstall</tt></blockquote>
<br><br>


<br><br>
==Advanced Email Processing==
==Advanced Email Processing==
===API by Email===
===API by Email===
Line 268: Line 385:
Setting up the API by Email section is optional and is required only when working with external system which send XML formatted emails to the Email Connector.  
Setting up the API by Email section is optional and is required only when working with external system which send XML formatted emails to the Email Connector.  


See more details in [[API by Email and MSP Integration#API by Email|API by Email]]
See more details in [[API by Email and MSP Integration#API_by_Email_.28XML_Formatted_Emails.29|API by Email]]
<br><br>
<br><br>


Line 276: Line 393:
Setting up the Automated Emails is optional and is required only when working with external systems (such as external MSP system) which send formatted email alerts to the Email Connector.
Setting up the Automated Emails is optional and is required only when working with external systems (such as external MSP system) which send formatted email alerts to the Email Connector.


The Automated Email feature in CommitCRM processes incoming emails that have been sent to the Email Address defined for the Email Connector. The emails processed are from automated sources, such as an MSP alerting application, and the Automated Email feature analyzes the email's header in order to create the relevant Tickets in CommitCRM.
The Automated Email feature in RangerMSP processes incoming emails that have been sent to the Email Address defined for the Email Connector. The emails processed are from automated sources, such as an MSP alerting application, and the Automated Email feature analyzes the email's header in order to create the relevant Tickets in RangerMSP.


This feature allows you to define a set of rules which will be activated one after the other to help the system detect pre-defined email formats, and create Tickets for them. As opposed to the "New Ticket From Email" feature, automated emails do not necessarily originate from a customer's email address, so it is difficult for the system to determine the customer for whom a new Ticket should be opened.
This feature allows you to define a set of rules which will be activated one after the other to help the system detect pre-defined email formats, and create Tickets for them. As opposed to the "New Ticket From Email" feature, automated emails do not necessarily originate from a customer's email address, so it is difficult for the system to determine the customer for whom a new Ticket should be opened.
Line 283: Line 400:


See more details in [[API by Email and MSP Integration#Automated Emails|Automated Emails]]
See more details in [[API by Email and MSP Integration#Automated Emails|Automated Emails]]
== Labels ==
Since version 7 the Email Connector can have default [[Labels]] defined so that all Tickets created through Email to Ticket or Automated Emails will have the default labels applied automatically. See more details [[Labels#Default_Labels|here]].


<br><br>
<br><br>


==Troubleshooting==
==Troubleshooting==
For troubleshooting, see [[Commit Email Connector Troubleshooting]]
For troubleshooting, see [[Email Connector Troubleshooting | Email Connector Troubleshooting]]






==See Also==
==See Also==
*[[API by Email and MSP Integration]]
*[[MSP Integration Setup]]
*[[Alerts Server]]
*[[Alerts Server]]
*[[Commit Email Connector Troubleshooting]]
*[[Ticket Management#Email_Distribution_via_RangerMSP_Email_Connector|Ticket Email Distribution via RangerMSP Email Connector]]
*[[Email Connector Troubleshooting |Email Connector Troubleshooting]]
*[[Email Connector FAQ]]
*[[Email Connector FAQ]]
*[[MSP Integration Setup]]
*[[API by Email and MSP Integration]]
*[[KB:_Setting_up_Email_Connector_and_Alerts_Server_with_SSL|Setting up Email Connector with SSL]]


[[Category:Setup]]
[[Category:Setup]]
[[Category:Installation]]
[[Category:Installation]]
[[Category:User Manuals]]
[[Category:User Manuals]]

Latest revision as of 12:37, 18 July 2022

User Manuals > Email Connector

Introduction

The RangerMSP Email Connector module allows you to process incoming emails and perform appropriate actions (like creating new Tickets). It also allows you to parse and analyze XML formatted emails that contain new Tickets, Accounts, Assets or other RangerMSP record information.

The RangerMSP Email Connector module automatically provides the following features:

  1. Generates new Tickets from emails sent by clients to a defined public email address.
  2. Manages email threads for existing Tickets (Email Distribution via RangerMSP Email Connector).
  3. Provides a full API to RangerMSP using XML formatted email messages.


Email Threading

The Email Connector manages email threads for you. If a customer replies to your support email in regards to a specific ticket, or if you, as a technician, reply to the customer, the correspondence will be automatically filed under the ticket in the system and distributed automatically to the recipients defined for the Ticket.

There are two email threading scenarios:

  1. A customer replies to Support regarding an email sent from the system, which contains a ticket number in the email subject. In this case, the system files the email under the ticket and distributes it to the Ticket Recipients.
  2. An employee replies on a customer email, which contains the ticket number in the email subject. The employee needs to send the email to the support email address, and RangerMSP Email Connector will automatically file the email in the system and distribute it to the Ticket Recipients. When a technician Cc or Bcc's the Email Connector, the email will be filed in the ticket, and will not be distributed to Ticket Recipients.


Note that the email threading management will apply only when the sender email address is defined as one of employee's emails (Email1 or Email2), and the employee is marked as an Active employee in RangerMSP. See more details on matching the email to an account in Matching by Email or Domain Name. In both cases, the Email Connector receives the email, finds the ticket in the subject, finds the ticket in the database, and then files the email as a document under the ticket history.

For more details see Email Distribution via RangerMSP Email Connector.


Matching by Email or Domain Name

RangerMSP connects an incoming support email to specific accounts based on the full email address of the sender, or by the domain name (if defined for the account).

If one of your clients has many possible email addresses, you should either add each of the email addresses as the email in the secondary contact (in the Account Contacts tab), or define the client's domain name in one of the Account's email addresses or secondary contacts.

To define a domain name for an account:

Set the domain name (e.g. "RangerMSP.com", with or without the @ sign) as the email address in one of the following places:

  • Account's Email field (in the General tab)
  • Account's Email 2 field (in the Address tab)
  • Add a secondary contact, and set the domain in the contact's email field

Notes:

  1. Account detection will first try finding the full email address.
  2. Only if this email address does not exist in the database, the system will search by the domain name.
  3. Duplicate domain names will create an error when processing the incoming email. Note that the system does not prevent entering duplicate domain names.

RangerMSP Email Connector Setup

The RangerMSP Email Connector is a plug-in for the RangerMSP Server. Setting up the RangerMSP Email Connector module includes using general settings used by the RangerMSP Server, and specific settings for the Email Connector plug-in.

To run the configuration application:

  1. Log into the Server with a Windows Administrator user. Note that the setup program must run from the same server as the one where the RangerMSP installation sits and from where you plan to run the Email Connector.
  2. Run <Installation_DIR>\RangerMSP\Server\ServerConfig.exe

The following window will open:

[[File::Server_outgoing_mail_server_settings.png|center]]

The server configuration window consists of the following tabs:

  1. Public Email Address - the main email address used by you and your clients. All emails sent to this address will be processed by RangerMSP Email Connector.
  2. Outgoing Mail Server Settings - outgoing emails settings for sending emails by the RangerMSP Server.
  3. Email Connector Settings - RangerMSP Email Connector settings.
  4. Email Alerts Settings - RangerMSP Email Alerts settings (not in the scope of this document).

In order to use the RangerMSP Email Connector, the following settings should be configured (in this order):

  1. Public Email Address - The Public Email Address is the main support email address (e.g. support@yourdomain.com) to which customers can send support-related emails.
  2. Outgoing Email Settings - These settings will be used by the RangerMSP Server for all outgoing emails (by RangerMSP Email Connector or RangerMSP Alerts Server).
  3. Incoming Email Setup – These settings include the Public Email Address for all emails processed by the RangerMSP Email Connector.
  4. Email Processing Setup - Define how incoming email is processed. RangerMSP Email Connector reads each email and performs the actions as defined in these settings.
  5. Internal Support Team Email - Define settings for the Internal Support Team Email, which is used if the system cannot decide what to do with the Email, or if there are errors.
  6. Installing and Running RangerMSP Email Connector Service - After setting up all of the above, you should actually install the Email Connector service and run it on your server.

Only once the setup is complete can you run the RangerMSP Server and start using the RangerMSP Email Connector plug-in.

Public Email Address

The Public Email Address is the main support email address (e.g. support@yourdomain.com) to which customers can send support-related emails. Tickets are automatically created out of these emails, and this address is also used to process XML-formatted emails (API) sent by external systems, such as a form on your website. All Emails sent to this email address will be analyzed and processed by the RangerMSP Email Connector.

Note: This email address should ONLY be used as the incoming email for the Email Connector. You should define a different address for your internal email which will be used for unrecognized emails and error handling (see Internal Support Team Email).


Outgoing Email Settings

The Outgoing Email settings are used for any outgoing emails sent from RangerMSP Server.

Note: The Outgoing Email settings should be set only once for the RangerMSP Server, so if you already defined this for the Email Alerts Server, you can skip this step.

The Outgoing Email settings should be set in the Outgoing Mail Server tab.

To reduce errors and improve security, it is strongly recommended to use SMTP authentication, with a user name and password for SMTP access.

Parameters:

  • SMTP Host - your Outgoing SMTP Mail Server
  • Port - the Outgoing SMTP port
  • My outgoing server (SMTP) requires authentication - if checked, must fill in the authentication details below:
    • User Name - the User Name to be used for SMTP authentication
    • Password - the password related to the specified User Name


Note: If you use SSL on your Email servers, this should be automatically supported (for users working with RangerMSP 6.0 or higher). If for some reason you are facing problems connecting via SSL, please contact our support directly ar support@RangerMSP.com.

Verification Tests (required!):

  • Test SMTP Connection - click this option to verify that your account is working. If there is missing or incorrect information, such as your password, you will be prompted to supply or correct it.
  • Send Test Email - Use this option to send an outgoing email using the settings you defined. After clicking it you need to specify the From email address and the To email address that will be used for sending the Test Email message.

After completing the Outgoing settings, move on to the next step > Setting up the Incoming Email Settings.

Incoming Email Settings

After setting up the Outgoing Email settings, you should now define the incoming mailbox settings.

To set up the Incoming settings, go to the Email Connector tab:

In this window, fill in the settings as explained in the following sections:

  1. Email Connector Status.
  2. Public Email Address (defined separately in the Public Email Address tab).
  3. Incoming Mail Server.
  4. Backup Settings (optional).

Email Connector Status

The RangerMSP Email Connector status can be one of the following:
ON (default) - RangerMSP Email Connector is active and processes incoming emails.
OFF – RangerMSP Email Connector is not active and does not process incoming emails (emails are left in the defined mailbox until you review them manually or turn the connector to ON again.

Note that in order for the status changes to take effect, you should restart CRM Server Service (see Running RangerMSP Email Connector).


Public Incoming Mail Server

In this section you will define the pop server settings of the incoming email server:

Server Information
POP3 Host - your Incoming Mail Server (POP3)
POP3 Port - the Incoming Mail Server port (POP3)

Logon Information
User Name - this is the incoming public support email account used for the Incoming email address described above.
Password - the password for this email account.

Note: To use CRM Server Service with Microsoft Exchange servers, ensure that POP3 is enabled for the relevant account in the Exchange server.

Note regarding SSL: If you use SSL on your Email servers, please read this article in order to find out how to set up the RangerMSP Email Connector with SSL.

Misc.
Test - click Test to verify that your account is working. If there is missing or incorrect information, such as your password, you will be prompted to supply or correct it.
Advanced - set up timeouts for the connection and polling interval (in most cases you should use the default values).

After filling in the information on this screen, we recommend you test your account by clicking the Test button (requires you to run the setup program from the Server).



Email to Ticket Settings

After setting up the Incoming Email Settings, you should now define the settings which will be used when converting incoming emails into Tickets in the system.

When receiving a new incoming email, the system recognizes the email sender's address or domain from the RangerMSP Accounts database; it automatically opens a Ticket and copies the email content into the Ticket description (the text/plain part). The Ticket will be automatically linked to the Account that matches the email address.

Incoming emails which relate to existing Tickets will be filed under the Ticket History. See more details in Email Distribution via RangerMSP Email Connector.

Matching by Email or Domain

Matching the incoming email to a RangerMSP Account is performed based on the full email address of the Account, or by the domain name (if defined for the account). This is because clients may be using generic email addresses (such as Yahoo®, Gmail®, etc.) and the system cannot rely on any domain name. If one of your clients has many possible email addresses, you should either add each of them as a secondary contact (in the Account Contacts tab), or define the client's domain name in one of the Account's email addresses or secondary contacts. See more details in Matching by Domain Name.

Auto-Response Settings

You can configure the system to automatically send response emails to customers, confirming that a new ticket has been created for their email message.

to configure the automatic response settings, scroll down to the Email to Ticket tab:

To activate the Auto-Response feature:

  1. Send Response – Select this option in order to send automatic email responses and notify your customers who sent emails that became new Tickets.
  2. Use the following Email Template – Choose the Ticket Email Template which will be used when sending the auto-response email for new Tickets.

See more advanced options for the Auto-Response feature in Advanced Options.

Email messages from unrecognized senders

When creating tickets from unrecognized senders is enabled, such email messages are converted into the Tickets under your business record. The ticket then can be easily reassigned to the relevant Account. See Move a Ticket from one Account to another.

Use ServerConfig to turn this feature on or off:

Notes: Verify that you have a Spam filter installed on your mailbox, otherwise all spam messages will get converted into tickets!

Advanced Options

Note that the Email Connector also provides more advanced processing options, such as using the Email Connector as an API (via XMl transactions), or using Automated Emails. You can read more about the advanced Email Connector options in the Advanced Email Processing section.

Clicking the Advanced Options button in the Email to Ticket tab opens the following window:

Here you can define the following options.


Store-Folder Settings

When creating Tickets from emails, all original email files (.eml) are stored on a dedicated folder on your server's local disk, so that they can be attached to their Ticket.

Using this option you can define an alternative default filing folder on your server. Note that this is an advanced option that should only by used by advanced users. Please contact support@RangerMSP.com before using this option.


In order for the Email Connector service to be able to save the emails in the new folder, you must configure the folder location so that the service will have the correct access to it.

In the Default Filing Folder, and define both paths, as the server recognizes it and as the client recognizes it.


Backup Settings (optional)

Once an incoming email has been processed by the system, it is removed from the email server (i.e. deleted from the mailbox). For backup and tracking purposes, you can automatically forward all emails to a dedicated email account for storing.

This is an advanced option, and we do not recommend on using it without consulting our support team at support@RangerMSP.com.


To set up the backup email account:
Backup ALL Incoming Emails – select this option to activate the backup.
Send ALL to this Email Address – Enter the Backup Email Address which will be the backup mailbox. Note that this must be a different email address than the Email Connector Incoming Email Address to avoid deadlocks where the backup email is being sent to the Incoming Email Address over and over again

After completing these settings, move on to the next step > Setting up Email Processing Settings email-to-ticket settings).

Automatically Add Ticket Email Recipients

As part of the Email Connector email threading management, it offers the ability to automatically scan processed email message headers to find relevant email recipients (To and Cc) and automatically add them as Recipients in the relevant Ticket in RangerMSP.

Administrators can control whether to activate the automatic scanning of email messages for recipients from this window under General Settings > Automatically find and add Ticket Recipients.


In this window you can determine whether to automatically find and add ticket recipients for employees or external recipients.

See Automatically Add Ticket Email Recipients in the Ticket Management user guide for more details about this powerful feature.

Auto-Response Advanced Options

Clicking the Auto-Response Emails options button opens the following window:


Here you can define the following options:

  1. Embed Web Links - Web Links allow your customers to quickly open the customers' Web portal and view or edit the Ticket details. This saves the need to go explicitly to the Web Interface site, login and search for the Ticket in order to see its details. Choosing this option will add Web Links if defined in the email template selected above.
    Note: Web Links require using RangerMSP Web Interface for Customers, and that Web Links are enabled in Options > Web Interface tab.
  2. Attach the original email to each response – Select this option to attach the original email sent by the client to the response email.



Send Auto-Response to all external recipients

When this feature is enabled, auto-response emails sent by the Email Connector will be sent to all Ticket Recipients – this includes those marked in RangerMSP as default recipients for the Account as well as all other recipients existing in the original customer email. This way everyone can easily participate in the email thread and their reply will automatically be filed under the Ticket in RangerMSP.

Auto Adding of New Secondary Contacts for Recognized Account

If an email arrives from a new address and the sender domain exists in the Accounts database then a new Secondary Contact can be automatically created under the relevant Account, with the email sender display name taken as the Contact Name.

If appropriate, a new Ticket is created with that new Secondary Contact set as the Ticket Contact. If the email is a reply to an existing Ticket from a previously unknown sender at the known domain then a Secondary Contact is created based on the new sender.

To configure this:

  1. Run the ServerConfig utility.
  2. Click the Email Connector tab.
  3. Go to Advanced Options.
  4. Click Configure in the General Settings section
  5. Check the relevant box to enable/disable.



Auto-append the thread Subject with the Account and sender names

The Account Name (File as… field) and Sender Name are added to the email subject line of emails distributed to employees. This way employees on the field can easily detect the Account related to the email correspondence. This helps overcome cases where the customer email did not include the customer name or in cases where the mail server overwrites the Sender Name with the mailbox name of the email connector.




Automatically open closed Tickets when customers reply

With this option enabled, customer email replies to closed tickets will automatically open the Ticket bringing it back to the open Tickets queue.

Disabling this option will push such replies to the Ticket Inbox, however, the Ticket status will be kept intact.




Show Ticket in Dispatcher

New Tickets that are created by Email Connector automatically appear in the Dispatcher Ticket list by default. This means that all new Tickets that are created will automatically be marked as "To be Dispatched" by the system.

Users can change this behavior:

  1. From any RangerMSP client, go to Tools > Options > Tickets-1 tab.
  2. Select or deselect the option Show in Dispatcher > By default, set to display new Tickets in Dispatcher to make the system behave as you require.
  3. Then restart CRM Server Service on your server so new Tickets will be marked accordingly.

Note: The Show in Dispatcher flag can be modified by any user and it affects tickets being created from anywhere - in the client application, by the RangerMSP Email Connector or by other applications. Make sure you use it consistently.


Notifying Customers and Technicians on new Tickets

Email Connector allows you to notify your customers that the emails they sent became new Tickets.

You can set Email Connector to send an automatic response back to the customer, notifying him or her that a Ticket was opened out of his /her email. When you configure this in the ServerConfig, you can also define a BCC address for keeping track of these emails. In the BCC address you can enter your Internal Support email to receive each notification as an email.

All automatic responses are automatically forwarded back to the Email Connector, and filed under the Ticket as part of the ticket history.

Assigning SLA to New Tickets Automatically

Tickets that are created automatically by the Email Connector, can be automatically assigned to an SLA by defining a default SLA for the Account or for the default Contract of this Account (see How does the system select a Default Contract?). The SLA Feature helps you provide services to your customers within the time frame agreed with them.

If a default SLA is defined for the Account (see Default SLA for Accounts and Contracts), the ticket created by Email Connector will be automatically assigned to it.

Internal Support Team Email

After setting up the Outgoing Email Settings and the Email to Ticket Settings, you should now define the Internal Support Team Emails (for forwarding purposes).

The Internal Support Email address is your main activity support mailbox which should be constantly reviewed by your support team. This mailbox will be used by the system in cases where the system cannot decide what to do with the email. The Email Connector will automatically forward these messages to this email address which should be reviewed by a "human" support team to identify emails which need to be handled manually.

Note: If the Ticket was not found in the RangerMSP database, the email will be forwarded to the Internal Support Team email, with an error indicating that the Ticket cannot found.

The Internal Support Email Address is set in the following window:

Email Address - This is an internal mailbox which will be used by your support team (e.g. support-internal@yourdomain.com). This mailbox should be manually reviewed on a regular basis to make sure there are no customer issues awaiting response which were filtered out for one of the reasons listed above.


The Internal Support Email address is used for the following purposes:

  1. Unrecognized emails – Unrecognized emails from new customers not yet in the RangerMSP database will be forwarded to this address (and no Ticket will be created).
  2. Error Handling - Emails which could not be processed due to errors during the process (such as the wrong format in XML formatted emails) will be forwarded to this mailbox.

Make sure not to use the same email address for the Internal Support Email as you do for the "Public Email Address." Also, make sure that emails sent to the Public Email address and the Internal Support Email address do not end up in the same physical mailbox (i.e. that they are not synonyms/aliases for the same mailbox).


After setting up all of the above, you are now done with the setup and can move on to actually running the service and activating the Email Connector. See more details in Running RangerMSP Email Connector.


Running RangerMSP Email Connector

After you finish setting up all of the required settings (see RangerMSP Email Connector Setup Overview), you can move on to the next step and install the CRM Server Service.

The RangerMSP Email Connector runs as a plug-in for the CRM Server Service. The RangerMSP Server runs as a Windows Service on your server.

Before you install the RangerMSP Email Connector

  1. Make sure to complete the above Setup steps prior to installing the Windows Service.
  2. Make sure to allow the RangerMSP Email Server Service in your DEP settings.


Install Service

This part of the installation should be performed on the server itself.


Automatic installation       (requires RangerMSP 14 and up)

Log in to to your Server with a Window's Administrator account and run the installer from:

<Installation_DIR>\RangerMSP\Utils\Install\InstallServerSideWindowsServices.exe



OR   -  

Manual installation

  1. Open a command prompt window: Right-click the command prompt icon and and choose 'Run As Adminsitrator'.
  2. Type the following command:

    <Installation_DIR>\RangerMSP\Server\CRMServer.exe -install

    Note: The <Installation_Dir> must refer to a LOCAL server path (e.g. C:\ or D:\Software, etc.) and NOT to a shared network name/path.
  3. Wait for a success message to appear, indicating the service was installed successfully.
  4. Open the Windows Services Management windows from Control Panel > Administration Tools > Services.
  5. Verify that a Window's service called RangerMSP Server is now displayed the services list.
  6. If the service is not there, make sure again that you are running the command prompt Window using 'Run as Administrator' and try again.

Running CRM Server Service

  1. Once the CRM Server Service is installed, setup the RangerMSP Alerts Server as explained in RangerMSP Alerts System Settings.
  2. You should also make sure all the users (employees) configure their own Email Alert settings so they will receive Alerts.
  3. Open the Windows Services Management windows from Control Panel > Administration Tools > Services.
  4. Locate the CRM Server Service and start the service (right-click > Start).
  5. Make sure that it is set to start automatically with a Delayed Start (Startup type > Automatic Delayed Start) each time the server is restarted.
  6. (Optional) Allow the CRM Server Service in your Windows' Server DEP settings. DEP can be found under Windows: System Properties -> Advanced -> Performance - Settings -> tab DATA EXECUTION PREVENTION.

Troubleshooting:
In any case of problems, see the RangerMSP Email Connector Troubleshooting.

Uninstall Service

To Uninstall CRM Server Service:

  1. Open the Windows Services Management windows from Control Panel > Administration Tools > Services.
  2. Stop the CRM Server Service.
  3. Open a command prompt window: Right-click the command prompt icon and and choose 'Run As Adminsitrator'.
  4. Type the following command:

    <Installation_DIR>\Server\CRMServer.exe -uninstall



Advanced Email Processing

API by Email

The Email Connector provides advanced processing options, such as using the Email Connector as an API by sending in XML transactions by email.

Setting up the API by Email section is optional and is required only when working with external system which send XML formatted emails to the Email Connector.

See more details in API by Email

Automated Emails

The Email Connector provides advanced processing options, such as using formatted Automated Emails.

Setting up the Automated Emails is optional and is required only when working with external systems (such as external MSP system) which send formatted email alerts to the Email Connector.

The Automated Email feature in RangerMSP processes incoming emails that have been sent to the Email Address defined for the Email Connector. The emails processed are from automated sources, such as an MSP alerting application, and the Automated Email feature analyzes the email's header in order to create the relevant Tickets in RangerMSP.

This feature allows you to define a set of rules which will be activated one after the other to help the system detect pre-defined email formats, and create Tickets for them. As opposed to the "New Ticket From Email" feature, automated emails do not necessarily originate from a customer's email address, so it is difficult for the system to determine the customer for whom a new Ticket should be opened.

The Automated Email feature allows you to define a set of rules that will help the system detect automated incoming emails which contain information about specific customers, and create Tickets for them.

See more details in Automated Emails


Labels

Since version 7 the Email Connector can have default Labels defined so that all Tickets created through Email to Ticket or Automated Emails will have the default labels applied automatically. See more details here.



Troubleshooting

For troubleshooting, see Email Connector Troubleshooting


See Also