Email security · Practical guide

Set up business email with the right secure settings

Find your provider settings, use TLS and test incoming and outgoing mail separately.

Archive placement: August 2022

An email application on a device screen

A business mailbox needs the correct username, server hostname, encryption mode and outgoing authentication. Start with the settings supplied for that actual mailbox, prove that webmail works, and test sending and receiving separately. Avoid guessing from the website address, especially when email is hosted elsewhere.

1. Find the mailbox connection details

In cPanel, open Email Accounts and use Connect Devices for the mailbox where available. Note the full username, incoming and outgoing hostnames, ports and authentication options. If another provider hosts your email, use its settings instead.

Use the secure hostname supplied for the service. Guessing mail.example.com can produce a certificate mismatch when the service expects a different name. Do not bypass a certificate warning to complete setup.

2. Verify the mailbox before adding it to an app

In cPanel → Email Accounts, confirm the mailbox exists and has enough quota. Use Check Email to open webmail through the trusted hosting panel. Sign in and send a small plain-text test to an address you control at another provider. Reply from that outside mailbox and confirm the reply appears in webmail.

If webmail cannot send or receive, fix that server/mailbox issue before repeatedly recreating the phone account. If webmail works both ways but the app fails, focus on the app’s server, encryption and credential settings. Keep existing local mail backed up, especially if an old POP account stores messages only on one device.

3. Choose the correct connection mode

IMAP commonly uses port 993 with TLS. Outgoing submission commonly uses port 465 with implicit TLS or port 587 with STARTTLS. The provider settings decide which combination is correct; selecting a port does not automatically choose its matching security mode.

The mailbox password is normally separate from your hosting-panel password. Some providers require OAuth or a dedicated application password for an email app. Do not weaken the account security to make an unsupported client work.

4. Enter the manual mail-client settings accurately

In Email Accounts → Connect Devices, read the Secure SSL/TLS settings for that mailbox. The exact label may be Set Up Mail Client. Use the full email address as the username unless the provider explicitly says otherwise. Copy the supplied incoming and outgoing hostnames; they may be a server hostname rather than mail.yourdomain.

  • IMAP commonly uses port 993 with SSL/TLS and keeps mail synchronised across devices. Use the provider’s supplied settings.
  • SMTP commonly uses 465 with SSL/TLS, or 587 with STARTTLS. Match the port and encryption pair; they are not interchangeable labels.
  • Enable outgoing SMTP authentication with the assigned account details. Receiving mail successfully does not prove that the separate outgoing login is configured.
  • Use OAuth2 or an application password only where the specific provider supports/requires it. Do not select an unsupported method simply because the app offers it.

A certificate warning usually indicates the wrong hostname, an expired/missing certificate or interception. Check the supplied server name and device clock. Do not accept an untrusted certificate permanently or switch to an unencrypted port to make the warning disappear.

5. Test receiving and sending independently

Send a message into the mailbox from an unrelated account, then reply and send a new outbound message. Check webmail as well as the email app. If webmail works but the app does not, focus on app settings and authentication before changing DNS.

Check spam folders and any error message. A successful outgoing connection does not prove incoming MX records are correct, and receiving mail does not prove SMTP submission works.

6. Separate mail routing from the connection settings

The hostname in a mail app and the domain’s MX records do different jobs. Changing one does not automatically repair the other.

  1. In cPanel → Email Accounts, use Connect Devices for the mailbox to review the secure incoming/outgoing hostnames and ports provided for it.
  2. If the mailbox is on this hosting service, review cPanel → Email Routing and the authoritative MX records. If mail is hosted elsewhere, preserve that provider’s records and use its connection instructions.
  3. Use a browser DNS lookup when you need to compare the public MX answer with the intended mail destination.

An incorrect password or a certificate mismatch in the mail app is not normally fixed by changing MX. Likewise, a correctly configured app cannot receive new mail at a mailbox that public DNS sends to another service. Make the change that matches the failed test.

7. Keep the setup current

Record the provider settings and remove duplicate old accounts from devices when a migration is complete. Protect devices with a screen lock and supported software. Recheck access when staff leave or a phone is lost.

If the domain is moving, plan the mailbox migration and DNS changes separately from the website. Keep the old mail service available for the agreed overlap and verify SPF, DKIM and DMARC for the service sending your mail.

8. Use the failure type to narrow the next check

  • Authentication failed: check the full username and saved password for both incoming and outgoing accounts. Stop repeated retries if the server begins temporarily blocking them.
  • Cannot connect: confirm hostname, port and encryption mode, then try a second network to rule out a local connection restriction.
  • Receives but cannot send: inspect the outgoing SMTP server and its separate authentication settings.
  • Sends but messages bounce: keep the full non-delivery error and use the delivery troubleshooting guide rather than rebuilding the app account.

If asking support, include the server hostname, port, app name/version, timestamp and exact error. Do not include the password or authentication screenshots containing it. Once fixed, record the approved settings so another device can be set up consistently.

Common questions

Should I use POP or IMAP?

IMAP is usually more convenient for a mailbox used on several devices. If changing from POP, protect locally stored messages first; deleting the old account from an app can remove its only copy.

Does the website’s SSL certificate automatically fix mail-client warnings?

Not necessarily. Mail services can use a different hostname and certificate from the website. Use the secure hostname supplied in the mailbox settings.

Further reading

← Back to all guidesDiscuss your hosting setup ↗