Email Command


About E-Mail Command

E-mail Command allows the technician to delimit fields in the e-mail, according to which the   e-mail can be parsed and corresponding fields can be set.

 

To configure E-mail Command,

1. In the Mail Server Settings page, click on E-mail Command tab. The E-mail Command configuration screen is displayed.

2. Click on the check box Enable E-mail Command to activate the e-mail parsing feature. If this option is not selected, then the incoming e-mail will be handled as a normal mail based on established business rules even if the incoming e-mails contain the parsing string in the subject.

3. In the E-mail Subject contains text box, enter valid subject line that determines the e-mails which have to be parsed. E-mails containing this text will be parsed for various fields.  Assume the Email subject identifier is given as @SDP@, then emails with subject containing @SDP@ alone will be considered for parsing.

4. Provide any special character (@@, ##, $$, %%, &&, so on) as the Command Delimiter.  The field values assigned between these special characters are assigned to the corresponding fields while the requests are created. Assume if the Command Delimiter is @@ and the email description need to set category field to Printer, then the email description should contain @@Category=Printer@@.

 

Notes:

      

Permissions and Parameters supported:

 

a. If the e-mail sender is a requester with requester permissions, then the fields that be parsed are limited. A requester can parse only those fields that he can view in the request form while creating a request.

 

b. If the e-mail sender is a technician with technician permissions, then the fields that can be parsed are same as those fields that he can view in the request form while creating a request.

 

c. Fields that can be parsed are LEVEL, MODE, PRIORITY, URGENCY, IMPACT, IMPACTDETAILS, CATEGORY, SUBCATEGORY, ITEM, GROUP, TECHNICIAN, TECHNICIANEMAIL, REQUESTER, REQUESTEREMAIL, REQUESTID, REQUESTTEMPLATE, REQUESTTYPE, STATUS, SITE, ASSET, RESOLUTION and additional field label (the field label given in the e-mail must match the field label set in the product)

 

d. To change the fields that a requester or a technician can parse, go to Admin --> Request Templates (under Helpdesk domain), select Default Template and add or remove the fields.

 

The RequestId present in the description of the e-mail it will be given higher precedence over the RequestId present in the subject of the e-mail.

Using Email Command

          ##service=Application Services##

          ##category=CRM##

 

Notes:

1.  Each Email Command should be an individual line in the email body and there should not be any spaces at the end of each line

2.  The mail has to be composed in “Plain Text” or both “Plain Text and HTML” format.

3.  The Field Name mentioned in an Email Command should be available in the Service Desk Project

4.  The Value mentioned in an Email Command should be available in the Service Desk Project (except for those Additional Fields which are Text Box and Text Area fields)

5.  The value mentioned in an Email Command for an additional field which is a Date field should be in the format "yyyy-mm-dd" and the format for a Date/Time field should be yyyy-mm-dd hh:mm

6.  The value mentioned in an Email Command for an additional field which is a Check Box should be either "Yes" or "No" (Yes=Checked, No=Unchecked)

7.  The field name and value mentioned in an Email Command are not case sensitive

8.  Ticket State cannot be set by an Email Command

9.  The form fields like Title, Sub-Title, Grid Control, Static Grid etc are not supported for updating by Email Command

 

Using  Email Subject Filter

          ~, !, @, #, $, %, ^, & and *

 

          #EmailAlert#, #Email Alert#, ##EmailAlert##, #@EmailAlert#@ etc

          {EmailAlert}, #EmailAlert@, #EmailAlert##, #@EmailAlert@# etc

 

Using Email Command Delimiter

          ~, !, @, #, $, %, ^, & and *

 

          #, @, ##, @@, #@, ##@ etc

          # #, #/#, @ @, ##text## etc

 

Various Fixed Fields supported are

 

Various Additional Fields supported and the format of their value is

 

Field Type

Field Value

Text Box

Any value can be specified (cannot be multiple lines)

Ex: ##Field Name=This is just for test##

Text Area

Any value can be specified (can be multiple lines)

Ex: ##Field Name=This is just for test##

Single Select Box

Any value that is present in the dropdown

Ex: ##Field Name=value one##

HTML Multi Select Box

Multiple values present in the select box

One per line.

Ex: ##Field Name=value one##

      ##Field Name=value two##

ExtJs Searchable Multi Select Box

Multiple values present in the select box

Comma separated values

Ex: ##Field Name=value one,value two##

Check Box

Yes for selecting the check box, No for deselecting

Ex: ##Field Name=Yes##

      ##Field Name=No##

Radio Buttons

Any value which is present as options can be specified

Ex: ##Field Name=Value one##

 

Date

Value in the format yyyy-mm-dd

Ex: ##Field Name=2014-08-25##

Date/Time

Value in the format yyyy-mm-dd hh:mm

Ex: ##Field Name=2014-08-25 10:10##