Email accounts
JoomHelpdesk can read a support mailbox and turn emails into tickets. A new email opens a ticket; a reply to a notification is added to its ticket. Customers can then work entirely by email.
Before you start
- A mailbox only for the helpdesk, for example
[email protected]. JoomHelpdesk marks or deletes the emails it reads. - For a password mailbox: the PHP IMAP extension on your server. If it is missing, the Email Accounts page shows a warning. See Compatibility.
- For Microsoft 365: an app registration in Microsoft Entra. See Microsoft 365.
- A cron job, so the mailbox is checked. See Cron jobs.
Add an account
Go to Components > JoomHelpDesk > Tickets > Email Accounts and click New. The editor has four tabs.
Account & Server
| Field | What it does |
|---|---|
| Account Name | A name for the list. |
| Server Address | For example imap.example.com. |
| Server Type | IMAP (default) or POP3. |
| Port | 993 for IMAP with SSL, 995 for POP3 with SSL. |
| Authentication | Password (Basic Auth) or OAuth2 - Microsoft 365. |
| Username and Password | The mailbox login. For Gmail, use an app password. |
| Check Interval (in minutes) | How often the mailbox is read (5). |
| Use SSL?, Use TLS?, Validate Server Certificate? | The connection security. Most providers need Use SSL? on Yes. |
| Connect String Override | An IMAP connect string for special servers. |
JoomHelpdesk reads the INBOX folder.
Microsoft 365 OAuth
For OAuth2 - Microsoft 365 only. See Microsoft 365.
Ticket Routing
| Field | What it does |
|---|---|
| Allow tickets from | Registered Users Only (default): emails from unknown addresses are skipped. Everyone: anyone can open a ticket by email. |
| Confirm new tickets | None, All or Only unregistered. Tickets wait for an agent's approval, see below. |
| After importing an email | Mark Email as read or Delete Email. |
| Closed ticket action | When someone replies to a closed ticket: Re-Open ticket, Create new ticket or Reject message. |
| Product, Department, Category, Priority | Values for tickets from this mailbox. |
| Fallback handler | The handler when no assignment rule matches. |
| Send replies from and Send replies as name | The sender of notifications for tickets from this mailbox. |
Filters
| Field | Default | What it does |
|---|---|---|
| Import mail already opened in the mailbox | Yes | With No, only unread mail is imported. |
| Ignore email older than | 0 | In days. 0 = no limit. |
| Allow responses to tickets from any address | No | Accept a reply from an address that is not on the ticket. |
| Only import replies to tickets | No | The mailbox never opens new tickets. |
| Allow email from joomla send address | No | Normally emails from your own site address are skipped, to avoid loops. |
| Limit to recieved address | empty | Only import mail sent to these addresses. |
| Ignore sender address | empty | Skip mail from these addresses. |
| Ignore Subject | empty | Skip mail with these subjects. |
| Import emails as HTML | No | Keep the HTML of the email. With No, it is imported as text. |
Save the account. It gets its own background job "EMail Check - Account Name".
Test the account
In the Email Accounts list, Validate Account connects to the mailbox and shows the result. Run Cron Now reads the mailbox at once.
Replies by email
Notification emails contain the ticket reference. When the customer replies, the reply is added to the ticket. Set Email reply-to address on the Email tab of Settings to the address of this mailbox, so replies arrive here. The Setup Alerts list checks this.
Quoted text from earlier emails is cut off by the trim rules.
Tickets that wait for approval
With Confirm new tickets on, new tickets from email go to the Emails tab of the agent ticket list. Agents approve or decline them there. Approved tickets become normal tickets and send the normal notifications. Email handler on pending ticket from email tells the handler that a ticket is waiting.
Email log
Admin > Email Log lists every email read, with what happened to it: a new ticket, a reply, or why it was skipped (for example Not registerd user, Unknown email replying or Bulk Email / Auto Reply). Look here first when an email did not become a ticket. See Troubleshooting.