To learn how to configure mail in iphone, add your custom-domain mailbox through the iPhone Mail app’s Add Other Account option. This guide gives you the DirectAdmin IMAP and SMTP values, the current iOS menu path, and fixes for certificate, password and sending errors.
Your business mailbox stays on your hosting account; the iPhone is only the mail app that connects to it. Choose IMAP so your inbox, Sent folder and other mailboxes stay available on your phone, webmail and computer.
What you need before you start
Have these details ready before opening Settings:
- The complete mailbox address, such as
[email protected]. - The password for that mailbox. It is separate from your Apple Account, domain registrar and DirectAdmin login passwords.
- The exact incoming and outgoing mail hostname shown in your hosting welcome details or DirectAdmin mail-client settings. It may look like
mail.yourdomain.com, but use the hostname supplied for your account. - A working internet connection and the iPhone Mail app.
- A second email address for testing both receiving and sending.
If the mailbox does not exist yet, create it first in DirectAdmin. HostKarle Basic includes 10 business email accounts and is ₹1,188 billed yearly. You need the full mailbox address and its mailbox password before continuing.
Step 1: Open the manual account screen on iPhone
Why this works: A mailbox on your own domain is not usually listed as Google, Yahoo or Microsoft. The Other account flow lets you enter the provider’s IMAP and SMTP settings manually.
On iOS 18, follow these steps:
- Open Settings.
- Tap Apps, then Mail.
- Tap Mail Accounts, then Add Account.
- Tap Add Other Account, then Mail Account.
- Enter your name. This is the sender name people will see.
- Enter your complete business email address.
- Enter the mailbox password.
- Add a description such as
Work emailorShop email, then tap Next.
Apple’s current instructions for adding an email account use this manual path for providers that are not automatically recognised. On some iOS versions, Mail and Mail Accounts appear directly under Settings instead of inside Apps.
Success looks like: iPhone shows a screen with IMAP and POP choices and fields for an incoming and outgoing mail server. Do not choose a listed provider such as Google unless the mailbox is actually hosted there.
Step 2: Enter the IMAP and SMTP server settings
Why this works: IMAP receives and synchronises mail, while SMTP sends it. The server name, port and security option must be entered as a matching set.
Choose IMAP, then enter these values. Replace mail.yourdomain.com with the exact hostname provided for your mailbox.
| iPhone field | Value |
|---|---|
| Account type | IMAP |
| Incoming mail server | Your exact mail hostname, often mail.yourdomain.com |
| Incoming username | Your full email address, such as [email protected] |
| Incoming password | Your mailbox password |
| IMAP port | 993 |
| IMAP security | SSL or SSL/TLS |
| Outgoing mail server | The exact SMTP hostname supplied by your host, usually the same mail hostname |
| Outgoing username | Your full email address |
| Outgoing password | Your mailbox password; do not leave it blank |
| SMTP port | 587 |
| SMTP security | SSL/TLS or STARTTLS, as labelled by the iPhone and host |
| SMTP authentication | Password |
DirectAdmin’s official iPhone Mail settings document IMAP port 993, SMTP port 587, SSL enabled, password authentication and the full address as the username. DirectAdmin also lists port 465 as an SMTP option on systems that use SSL from the start. If your HostKarle mail details specify 465, use 465 with SSL/TLS; do not pair it with STARTTLS.
If iPhone asks for IMAP Path Prefix, enter /. You can also read the practical difference between these connection values in IMAP, POP3 and SMTP port numbers.
Tap Next. iPhone may take a few seconds to verify the account. If it asks which services to use, keep Mail enabled and tap Save.
Success looks like: the account appears under Settings → Apps → Mail → Mail Accounts, and the Mail app begins loading the mailbox. If verification fails, do not repeatedly change random ports; use the checks below.
Step 3: Confirm incoming mail and outgoing mail separately
Why this matters: receiving and sending use different connections. A mailbox can load its Inbox while SMTP is still missing a password or using the wrong security mode.
- Open the Mail app and select the new business account.
- From another address, send a short test message to the business mailbox.
- Wait for the message to appear in Inbox.
- Reply from the business mailbox to the sender.
- Send a new message from the business address to the second address.
- Open the second address and check the sender shown in the From field.
- Return to the iPhone and confirm the outgoing message is visible in Sent.
Success looks like: the test message arrives, the reply returns, the recipient sees your business address, and the sent copy is stored in the mailbox. If the Inbox works but the test message cannot leave, continue to the SMTP checks in Step 5.
Step 4: Fix “Cannot verify server identity”
This warning usually means the hostname entered on the phone does not match the secure certificate presented by the mail server, or the connection is using the wrong security mode. Correct the details instead of bypassing the warning.
- Check the hostname character by character. Enter only the hostname, such as
mail.yourdomain.com; do not addhttps://, a slash or a port to the hostname field. - Use the exact mail hostname in your HostKarle welcome details or DirectAdmin mail-client settings. If those details give a server hostname instead of
mail.yourdomain.com, use that value for both incoming and outgoing mail. - Confirm IMAP 993 uses SSL/TLS.
- Confirm SMTP 587 uses STARTTLS/TLS, or use SMTP 465 only with SSL/TLS when that is the documented setting.
- Open Settings → General → Date & Time and turn on Set Automatically. An incorrect device clock can affect certificate validation.
- If the account was partly saved, remove that account and add it again with the corrected hostname.
Do not select an unencrypted connection merely to make setup finish. If the correct provider hostname still produces a certificate warning, keep the secure setting and ask the hosting provider to confirm the hostname and certificate used by your mailbox.
Success looks like: iPhone accepts the account without a certificate warning, and the Mail app can refresh the Inbox over the secure connection.
Step 5: Fix “Cannot send mail” and password errors
Why this matters: SMTP is the outgoing service, so a sending error needs an SMTP check even when incoming IMAP is correct.
Open Settings → Apps → Mail → Mail Accounts, tap the business account, then open Account. Review the outgoing server under SMTP.
- Set the SMTP hostname to the exact value supplied by your host.
- Set the SMTP username to the complete address, such as
[email protected]. - Re-enter the mailbox password under the outgoing server. iPhone does not always copy it into the SMTP section.
- Turn on Use SSL when the server uses port 465. For port 587, use the STARTTLS/TLS option shown by the host.
- Set Authentication to Password.
- Do not use port 25 for a normal phone mailbox setup unless your provider specifically instructs you to do so.
If the phone says the password is wrong, test that exact address and password in webmail first. If webmail also rejects it, reset the mailbox password in DirectAdmin and update it on the iPhone. Remove accidental spaces before or after the email address, and do not substitute the password for your hosting panel.
If iPhone reports that the recipient was rejected, first send a message to a different address you control. Check that the From address is the business mailbox, not a personal account, and that SMTP authentication is enabled.
Success looks like: the message leaves the iPhone, arrives at the test address, and appears in the business mailbox’s Sent folder.
Step 6: Sync Sent, Trash and other folders correctly
Why this matters: IMAP synchronises server folders, but a phone can create a local-looking Sent or Deleted folder when the mailbox behaviours are not mapped correctly.
- Go to Settings → Apps → Mail → Mail Accounts.
- Tap the business account, then tap Account.
- Tap Advanced at the bottom of the account screen.
- Confirm Use SSL is on, Authentication is set to Password, IMAP Path Prefix is
/, and Server Port is993. - Under Mailbox Behaviours, tap Drafts Mailbox, Sent Mailbox, Deleted Mailbox and Archive Mailbox one at a time.
- Select the matching folder under the server account, such as Sent, Trash or Archive, rather than a folder under On My iPhone.
- Return to the Mail app and refresh the mailbox.
Send another test message, move it to a temporary server folder, and check the same folder in webmail or on your computer. If it appears on every device, the account is using IMAP correctly.
Verify the complete iPhone setup
Before using the address for customer enquiries, run this checklist:
- The mailbox opens in webmail with the full email address.
- iPhone receives a new message sent from another address.
- iPhone sends a message through authenticated SMTP.
- The recipient sees the correct business address in From.
- The sent message appears in Sent on iPhone and webmail.
- A reply arrives back in the same Inbox.
- Sent, Trash and custom folders appear on the other IMAP device.
For another mobile setup, see how to add business email to the Gmail app. The app changes, but the mailbox address, hostname, IMAP port and SMTP authentication remain the values supplied for your hosting account.
FAQ
What is the IMAP server and port for iPhone Mail?
Use the exact mail hostname supplied by your hosting provider, often formatted like mail.yourdomain.com. The usual secure incoming setting is IMAP port 993 with SSL/TLS, with your full email address as the username.
What SMTP port should I use on an iPhone?
DirectAdmin’s iPhone guide uses SMTP port 587 with SSL enabled, password authentication and the full email address as the username. Some hosting accounts use port 465 with SSL/TLS instead, so match the port and security mode shown in your provider’s settings.
Why can I receive email but not send it on my iPhone?
Incoming IMAP and outgoing SMTP are separate services. Check the SMTP hostname, set authentication to Password, enter the full email address and mailbox password, and use 587 with STARTTLS/TLS or 465 with SSL/TLS as documented for the account.
Should I use IMAP or POP on iPhone?
Use IMAP when you want the same mailbox on your phone, computer and webmail. IMAP keeps messages and folders synchronised, while POP is intended more for downloading mail to a single client.
How do I fix a certificate warning for business email?
Replace the guessed hostname with the exact secure mail hostname supplied by your provider, then check the port and encryption pairing. Also set the iPhone’s date and time automatically; if the warning remains with the correct hostname, ask the provider to confirm the certificate details.
Want to partner with us, suggest a resource or advertise on this blog? Email [email protected]