Connect a mailbox with IMAP and SMTP

Connect any mailbox to Herodesk with its password and server settings.

Written by Anders Eiler
Last updated 2026-10-26
On this page

You can connect any mailbox to Herodesk with its password and server settings (IMAP for receiving and SMTP for sending). Use this if your e-mail is hosted by a provider other than Microsoft or Google, for example your web host. Herodesk logs in to the mailbox the way a mail app does: new e-mails appear in Herodesk, and your replies are sent through the mailbox's own server.

For an overview of all the ways to connect e-mail, see Connect your e-mail to Herodesk.

Before you start

  • You need the password for the mailbox.
  • If your provider uses two-step verification, you need an app password instead of your normal password. See App passwords below.
  • Herodesk usually finds the server settings for you. If not, your e-mail provider can tell you the server names and ports.

Connect the mailbox

Step 1: Enter your support address

  1. In Herodesk, go to Settings β†’ Channels β†’ Add channel and choose E-mail.
  2. Enter the address your customers write to, for example support@yourcompany.com.
  3. Choose the inbox new conversations should go to, and continue.

If your provider isn't Microsoft or Google, Herodesk shows Connect with your e-mail password. Click Continue.

Herodesk shows Connect with your e-mail password for a provider other than Microsoft or Google

If Herodesk detected Microsoft or Google but you want to use a password instead, choose Use password and server settings (IMAP/SMTP) under Other ways to connect.

Step 2: Enter the password

Enter the mailbox password under Password for [your address].

Herodesk looks up the server settings for your domain:

  • If it finds them, you see We found the server settings for [domain]. You don't need to do anything else. Click Change if you want to see or edit them.
  • If it can't find them, you see We could not detect the server settings for [domain]. Herodesk fills in the most common settings. Check them with your e-mail provider and correct them if needed.

The password form after Herodesk found the server settings

The password form with the IMAP and SMTP server fields shown because the settings could not be detected

Step 3: Check the server settings

If you need to fill in the settings yourself, these are the fields:

  • Incoming server (IMAP), with port and security
  • Outgoing server (SMTP), with port and security
  • Username (optional). Only fill this in if your provider uses a login that differs from the e-mail address.

The port and the security setting must match. This is the most common reason a connection fails:

ServerPortSecurity
IMAP993SSL/TLS
IMAP143STARTTLS
SMTP465SSL/TLS
SMTP587STARTTLS

Example: A provider lists "IMAP port 143, TLS possible". That means port 143 with STARTTLS, or port 993 with SSL/TLS. Port 143 with SSL/TLS does not work.

Step 4: Connect

  1. If you also want the e-mails from the past week, tick Also import e-mails from the last 7 days.
  2. Click Connect mailbox. Herodesk shows Testing login… while it tests both the IMAP and the SMTP login. Nothing is saved until both work.
  3. Send a test e-mail to your support address from another address. When it arrives, click Go to the inbox.

App passwords

If your provider uses two-step verification, it won't accept your normal password from Herodesk. Create an app password in your account's security settings and use it instead. For the providers where this is required, Herodesk shows How to create an app password with a link to the provider's guide.

This applies to, among others:

  • Google (Gmail and Google Workspace): Google Account β†’ Security β†’ 2-Step Verification β†’ App passwords
  • Microsoft (Outlook.com): Microsoft account β†’ Security β†’ Advanced security options β†’ App passwords
  • Apple iCloud: Apple Account β†’ Sign-In and Security β†’ App-Specific Passwords
  • Yahoo and AOL: Account security β†’ Generate app password

If you change or delete the app password later, Herodesk can no longer log in, and you need to reconnect the mailbox.

How e-mails are sent

Replies from Herodesk are sent through your mailbox's SMTP server. Herodesk saves a copy in the mailbox's Sent folder, unless your server already does that by itself.

Troubleshooting

"We could not connect to [server]. Check the server name, port and security."

The server name is wrong, or the port and security don't match. Check the table above.

The error shown when the IMAP port and security don't match

"The e-mail address or password was not accepted."

Check that the password is correct. If your provider uses two-step verification, you need an app password. If you're sure the password is right, ask your provider whether the login differs from the e-mail address, and enter it in the Username field.

For other problems, see Reconnect a mailbox and fix connection problems.