Creating incidents and retrieving incident status through email messages
BMC Remedyforce uses email services to allow users to create incidents or retrieve the status of incidents through email. Additionally, email services also allow staff members to interact with customers through email. For more information, see Configuring email conversation.
The following video (8:06) provides an overview of creating email services to configure Remedyforce to create incidents through email messages.
If you want your users to create incidents or retrieve the status of incidents through email messages, you must create an email service and add one of the following out-of-the-box Apex classes to the email service:
To create incidents and retrieve the status of incidents through email messages
To create incidents through email messages. Also, use this Apex class when you are configuring integration with BMC Server Automation and BMC End User Experience Management.
To retrieve the status of incidents through email messages
To create incidents through events generated in BMC TrueSight Operations Management (before version 10.0, BMC TrueSight Operations Management was known as BMC ProactiveNet Performance Management).
Note: Use this Apex class only when you are integrating BMC Remedyforce with BMC TrueSight Operations Management.
To create change requests in BMC Remedyforce from BMC Server Automation
If an incident cannot be created through an email message, an email notification is sent to the email address from which the email message was received and the user that you have specified to receive such email notifications on the Incident - Email Settings page (accessed from the Configure Email tile). For more information, see Settings to create incidents by using email messages. The email notification that is sent to the user contains error description and the original email message.
To create an incident or retrieve incident status through email messages
- Click the Remedyforce Administration tab.
- On the Home page, click the Configure Email tile, and select Email Services.
- Click New Email Service.
In the Email Service Name field, type the name of your email service.
BMC recommends that you add BMCRF at the beginning of the email service's name to allow you to differentiate BMC Remedyforce email services from the others email services that you create.
- Click the Apex Class lookup.
- In the Search field, type Email and click Go.
The list of Apex classes that begin with Email in the Name field is displayed. If the search results do not display any Apex classes with Email in the Name field, you must compile all Apex classes by navigating to Setup > Develop > Apex Classes and clicking the Compile all classes link.
- In the Lookup window, click the required Apex class.
- From the Accept Attachments list, select All.
Select the Convert Text Attachments to Binary Attachments check box to ensure that attachments are not lost or deleted from the email.
By default, the total size of an email message that a user can send to report an issue cannot exceed 25 MB. The maximum size of email messages for email services varies, depending on language and character set. The size of an email message includes the email headers, body, attachments, and encoding. As a result, an email with a 25 MB attachment would likely exceed the 25 MB total size limit for an email message, after accounting for the size of headers, body, and encoding.
While creating a service request, if a corrupted image is added inline with the email, the email content is saved as plain text in the Note field under Action History.
- To enable the email service, select the Active check box.
- Depending on your organization's requirements, configure the remaining fields.
For more information, see Salesforce Help.
- To save the email service and configure an email address for this email service, click Save and New Email Address.
- In the Email Address Information section of the Email Service Address page, in the Email Address field, type the user name of the email address.
Salesforce.com creates and assigns a unique domain name to the email address.
For more information, see Salesforce Help.
- To activate the email address, select the Active check box.
- Click the Context User lookup.
- In the Lookup window, click the required user.
When an incident is created through email, by default, the incident is assigned to the user configured as the Context User in the email service. This user does not receive a notification email when the incident is created. You must create workflows for the Context User to receive email notifications when an incident is assigned to the Context User. For more information, see Configuring workflows.
- (Optional) In the Accept Email From field, type the valid email addresses.
The email service address accepts emails from these email addresses only.
- Click Save.
To create incidents or retrieve the status of an incident, users must send emails to the email address that is displayed in the Email Addresses section of the Email Service page.
After an incident is created by an email message, the values of the following fields are displayed in the Description field of the incident:
- Sent (date and time the email message was sent in the format that is set for your Salesforce organization)
- To (if available)
- Cc (if available)
- Body (if you have not mapped the body of the content to any incident field)
If any formatting was applied to the text in the email message, the formatting is not retained when staff members open the email message.
Do not use the "Ref:IN " keyword in the subject or body of the email message with which you want to create an incident.
The email listener searches for the Ref:# keyword in the subject or body of the email message and interprets the message by considering the following points:
- If the keyword is same or different in the subject and body of the email message, the information provided in the subject of the email message is used.
- If the keyword is present only in the subject or body of the email message, the information provided in the subject or body of the email message is used.
Work with your Email Administration group to set up a rule to forward all emails that come to your outbound email address (firstname.lastname@example.org). These emails must be forwarded to the email address (email@example.com) of your email service.
For more information about configuring your email server, see the documentation of your email server.