If the Outlook mobile app (iOS or Android) cannot connect to your hosting email and shows "Unable to Log In" or "Secure Connection Unavailable," it's because the app is trying to use Exchange autodiscover, which doesn't work with cPanel hosting. The fix is to configure the account manually using IMAP settings.
Use IMAP with manual configuration
When adding your account in the Outlook app, choose IMAP (not Exchange or Microsoft 365) and enter these settings manually:
- Incoming:
mail.yourdomain.com, Port 993, SSL/TLS - Outgoing:
mail.yourdomain.com, Port 465, SSL/TLS - Username: Your full email address
01. Why This Happens
The Outlook mobile app tries Exchange autodiscover first when you enter an email address. Autodiscover queries DNS for an autodiscover.yourdomain.com record or checks yourdomain.com/autodiscover/autodiscover.xml. On cPanel hosting, neither exists (they're for Exchange/Microsoft 365 servers), so the connection fails.
The "Secure Connection Unavailable" variant happens when the app falls back to testing various ports/encryption combinations and can't find one that works with the autodiscover protocol.
The solution is to bypass autodiscover entirely by selecting IMAP and entering the server settings manually.
02. Setting Up on iOS
- Open the Outlook app and tap the account icon > Add Account
- Enter your email address and tap "Add Account"
- When it fails or asks for provider, select "IMAP" (not Exchange, Office 365, or Outlook.com)
- Enter the incoming server:
mail.yourdomain.com, Port993, SecuritySSL/TLS - Enter the outgoing server:
mail.yourdomain.com, Port465, SecuritySSL/TLS - Enter your full email address as the username and your email password
- Tap Sign In
If the Outlook app doesn't offer an IMAP option, try using the built-in iOS Mail app instead (Settings > Mail > Accounts > Add Account > Other). It provides more flexible IMAP configuration. See our iPhone email setup guide.
03. Setting Up on Android
- Open the Outlook app and tap Add Account
- Enter your email address
- Tap "Setup Account Manually" or look for "IMAP" in the provider list
- Select IMAP
- Enter incoming server:
mail.yourdomain.com, Port993, Security TypeSSL/TLS - Enter outgoing server:
mail.yourdomain.com, Port465, Security TypeSSL/TLS - Enter your credentials and tap Next/Sign In
If the Outlook app on Android doesn't provide manual IMAP options, use the built-in Gmail app or Samsung Email app instead. See our Android email setup guide.
04. Troubleshooting
Still can't connect after manual setup - Verify the password by logging into webmail at https://yourdomain.com/webmail. If webmail works, the password is correct and the issue is in the app's settings.
Firewall block - Multiple failed connection attempts (from autodiscover retries) can trigger a firewall block on your IP. Check using our firewall unblock tool. Try connecting on WiFi vs mobile data to test if one network is blocked.
Certificate warning - If you see a certificate warning, make sure you're using mail.yourdomain.com as the server hostname, not the bare domain or an IP address. The SSL certificate is issued to the mail subdomain. See Fixing SSL Certificate Warnings.
For the desktop Outlook setup, see How to Set Up Email in Microsoft Outlook.
Mobile Email Help?
If the Outlook app still won't connect after manual IMAP setup, open a ticket with your device type and the exact error message.
Open a Support TicketQuick Recap: Outlook Mobile Email Setup
- Choose IMAP, not Exchange, in the Outlook app
- Enter settings manually - do not rely on autodiscover
- Incoming: mail.yourdomain.com, port 993, SSL/TLS
- Outgoing: mail.yourdomain.com, port 465, SSL/TLS
- Check firewall blocks if connection fails after correct setup
Last updated March 2026 · Browse all Email articles
