Troubleshooting issues with the email channel
There are common errors when setting up an email channel for your service desk. If you are not receiving requests or if you are getting errors, check the email connection. You might also review how emails are processed to see why a certain type of email isn't making it to your service desk.
Check you email connection
To troubleshoot email channel issues, the first thing to do is to check the connection between Jira Service Desk and your email account. You will see error messages that show you why the email channel doesn't work for your service desk.
To check your connection:
- Choose Jira administration > Applications.
- Under Jira Service Desk, select Email requests.
- Select Test.
Check how you process email requests
Global mail settings control how your site processes requests that your customers send to your service desk email addresses. We process emails in three stages:
- Email puller: fetches unread emails from the service desk's associated inbox every minute, and copies them to the email database. Emails with attachments larger than 25MB are not fetched.
- Email processor: filters pulled emails to remove things like auto-replies and spam.
- Database cleaner: deletes old emails from the database that are older than 45 days. You can change the purge to a range of intervals from 14 days to 180 days.
You can temporarily adjust these settings to troubleshoot your email channel.
To change global mail settings:
- Choose Jira administration > System.
- Go to Mail > Global mail settings.
Common email channel errors
This section describes the common errors and provides information about how to resolve them.
Setting up the email channel
The email address you entered is currently used by another project's email channel. Please choose another email address. Check out our troubleshooting docs for help resolving the issue.
Make sure each of your service desk projects has a unique email account. An email account can't connect with multiple service desks.
You can also receive this message if you're trying to use multiple email aliases that point to the same email account for multiple service desk email channels.
Requests aren't created or notifications received
Customers are emailing requests that aren't arriving in your queues. They also aren't receiving notifications.
- Use the instructions above to check the email connection.
- Verify that the customer has permission to email the service desk.
- Verify that the default request type for the email channel has visible Summary and Description fields.
- Verify that the Email puller is on in Global mail settings.
No suitable request type for the email channel
No suitable request type for the email channel
You will select the default request type assigned to requests created from the email channel during the setup. However no existing request types are suitable for email requests. A suitable request type must have both the Summary and Description fields as visible fields, and all the other visible fields, if any, must be optional. If you want to enable the email channel, add a new request type that meets the criteria or modify an existing one on the Request types page.
- In your service desk project, select Project Settings > Request types.
- Add a new request type or choose an existing one.
- Select Edit fields.
- Make sure both the Summary and Description fields are added and marked as Visible. Add an Attachment field and mark it as not Required.
- Select Save, then head back to Project settings > Email requests.
Archived messages are creating requests
When Jira Service Desk checks your email accounts for new messages, it polls the inbox folder. Gmail uses labels to classify messages into categories and only has the following folders:
- Sent Mail
- Bin (or Trash)
This means that the archived messages are treated like they're in the inbox folder. With POP3, Jira Service Desk is not able to identify archived messages by labels and therefore still brings them in as requests.
Use IMAP instead.
Setting up a Gmail account
Unfortunately Jira couldn't connect to the mail server. Here is what the mail server said: "[ALERT] Please log in via your web browser: http://support.google.com/mail/accounts/bin/answer.py?answer=78754 (Failure)
Create an application-specific password for Jira Service Desk in your Gmail account settings.
Setting up a Yahoo! account
Unfortunately Jira couldn't connect to the mail server. Here is what the mail server said: "[AUTHENTICATIONFAILED] (#MBR1240) Please verify your account by going to https://login.yahoo.com"
Create an application-specific password for Jira Service Desk in your Yahoo! account settings.
Microsoft Outlook locks account for security
Unfortunately Jira Service Desk couldn't connect to the mail server. Here is what the mail server said: "STAT command failed: Exceeded the login limit for a 15 minute period. Reduce the frequency of requests to the POP3 server.
Jira Service Desk checks email accounts every minute. Microsoft Outlook might suspect inappropriate usage of this account and lock it for security reasons. To resolve this, use IMAP instead.
Jira doesn't trust the SSL certificate on the the mail server
Unfortunately JIRA couldn't connect to the mail server. Here is what the mail server said: "unable to find valid certification path to requested target" Check out our troubleshooting docs for help resolving the issue.
Make sure that the SSL certificate chain from the mail server is imported into Jira's Java trust store. Follow the steps on https://confluence.atlassian.com/kb/unable-to-connect-to-ssl-services-due-to-pkix-path-building-failed-779355358.html.