Configure an incoming email account
You can define the requirements for accepting email and initiating some of the automated email processes in the Incoming email Accounts screen.
If required, you can change the frequency that WHD checks for new email.
Configure a new account
- Click Setup > email > Incoming Mail Accounts.
- Click New.
-
Select the checkbox to enable Web Help Desk to create tickets from email sent to this email account.
-
Click Make Default to set this account as your default incoming mail account. This account can be edited but not deleted.
-
Enter the email address used by Web Help Desk to create new tickets. After an email is retrieved and converted to a ticket, the email is deleted from the mail account.
To prevent WHD from sending nonstop ticket updates, use a real email address. Do not use an alias.
-
Select the account type used for your incoming mail account.
- Follow the procedure below for your IMAP, POP3, or Exchange/Office 365 account type.
Configure an IMAP account
-
Select the check box to enable Web Help Desk to download the full email from the email server rather than specific parts of the email.
-
Select an authentication mode.
Select OAuth to allow users to access their resources without providing a password. Select Basic to prompt users to provide a user name and password.
To set up OAuth authentication mode, complete the following fields.
Field / Button Description Client ID Enter a public identifier used by the application.
This ID must be unique across all clients managed by the authentication server
Client Secret Enter a hidden identifier used by the application and authorization servers to generate an access token.
This ID protects your resources by only granting access tokens to authorized clients.
Authorize Click Authorize to redirect the web browser to the Microsoft login page.
After Web Help Desk is authorized, the web browser redirects back to the following address:
http://10.199.76.152:8081
To prevent the authorization process from failing, make sure you access Web Help Desk using this URL.
To set up Basic authentication mode, complete the following fields.
Field Description Incoming Mail Server Enter the IP address or host name of the mail server.
Use 143 (default) or select the SSL checkbox to use secure port 993
User Name Enter the user name for the incoming mail account.
Password Enter the password for the incoming mail account. - Complete the configuration.
Configure a POP3 account
Complete the following fields for a POP3 account. When you are finished, complete the configuration.
Field | Description |
---|---|
Incoming Mail Server |
Enter the IP address or host name of the mail server. Use 110 (default) or select the SSL checkbox to use secure port 995. |
User Name | Enter the user name for the incoming mail account. |
Password | Enter the password for the incoming mail account. |
Configure an Exchange/Office 365 account
-
Verify that Exchange Web Services is enabled on the Microsoft Exchange server.
If your Exchange server does not support Exchange Web Services, used to access an Exchange mailbox, enable the IMAP or POP3 protocol on your Exchange server and select the corresponding account type.
-
Select an authentication mode.
Select OAuth to allow users to access their resources without providing a password. Select Basic to prompt users to provide a user name and password.
To set up OAuth authentication mode, complete the following fields.
Field / Button Description Incoming Mail Server This field is completed for you. No user intervention is required. Tenant ID Enter a globally unique identifier (GUID) that provides access to an environment containing services. This ID is different from your tenant or domain name.
Client ID Enter a public identifier used by the application. This ID must be unique across all clients managed by the authentication server.
To prevent phishing attacks from unauthorized users, consider using a 32-bit hexadecimal string to generate a client ID.
Client Secret Enter a hidden identifier used by the application and authorization servers to generate an access token. This ID protects your resources by only granting access tokens to authorized clients. Authorize Click Authorize to redirect the web browser to the Microsoft login page.
After Web Help Desk is authorized, the web browser redirects back to the following address:
http://10.199.76.152:8081
To prevent the authorization process from failing, make sure you access Web Help Desk using this URL.
To set up Basic authentication mode, complete the following fields.
Field Description Incoming Mail Server Enter the IP address or host name of the mail server.
Use 110 (default) or select the SSL checkbox to use secure port 995.
Domain\User Name Enter the user name for the incoming mail account.
For an Exchange account, you can also prepend the domain to the user name separated by a backslash character.
For example:
mydomain\myusername
Password Enter the password for the incoming mail account. - Compete the configuration.
Complete the configuration
-
Web Help Desk uses the inbox folder to retrieve new messages. If you plan to pre-filter or process message before passing them to the folder monitored by the application, change the INBOX name to another name.
-
Click the drop-down menu and select the outgoing mail account used to send mail for this email account. This can include automated replies to email sent to this account or tickets with a request type that matches what is linked to this account.
-
Click the drop-down menu and select the tech group used to filter the available request types listed in the Request Type menu.
New tickets created from this email account will be given the request type you select.
-
Click the drop-down menu and select the request type that will assign tickets created from this email account.
Ensure that the request type is supported by the selected tech group.
See the Request Types Supported tab at Setup > Techs > Tech Groups > [Tech Group] for a list of supported request types. -
Leave this check box blank. If your email server fails incoming email tests, you can use this option for troubleshooting. Click the tooltip for details.
-
Leave this field blank. If your email server fails incoming email tests, you can use this field for troubleshooting. Click the tooltip for details.
- Click Save.
Enable WHD to create tickets from incoming email
- Log in to the Web Help Desk Admin Console.
- Click Setup > email > Incoming Mail Accounts.
- Click the default email account.
-
Select the Enable email Tickets checkbox.
- Verify that the administrator email address is correct.
-
In the User Name field, enter your administrator details in one of the following formats:
- domain\admin
- admin@domain.com
-
Verify that the Request Type option is correct.
This is a required field. All tickets generated from email will always be created with the selected request type. - Click Save.
Below is an example of an incoming email account configured to create tickets from incoming email. In this example, domain\admin is the user name.
Troubleshooting connection issues
If you receive an error when you save your Exchange incoming email account, do the following:
- Access your Exchange server and verify that Server Manager > Tools > Exchange Server IIS Manager > EWS > Basic Authentication is set to Enabled.
- If SSL is enabled, ensure that your security certificate (self-signed or CA-issued) to the local Java's trusted certificates.
- When you are finished, save the incoming mail email account again.