To set up email on iPhone, open the Settings app, go to Apps > Mail > Mail Accounts, tap Add Account, and enter your email address. For iCloud, Google, Microsoft Exchange, Yahoo, and other common providers, the Mail app configures the account automatically after you sign in.
Custom-domain mailboxes and less common providers need a manual setup with IMAP or POP and SMTP server details. Hostinger Email users can also install a configuration profile that adds the mailbox in a few taps. If Mail can’t connect, rejects your password, or stops syncing, a few quick checks in the Mail settings fix the most common errors.
How to add an email account to iPhone automatically
The fastest way to add an iCloud, Google, Microsoft Exchange, or Yahoo account to an iPhone is to sign in with your email address and password. The Mail app then finds the server settings and configures the account for you.
- Open the Settings app, tap Apps, then tap Mail.
- Tap Mail Accounts, then tap Add Account.
- Enter your email address, or choose your email provider from the list if iOS shows one.
- Follow the prompts and enter your email address and password.
- Tap Next if it appears, and wait for Mail to verify your account.
- Make sure Mail is turned on if iOS asks which apps to sync, then tap Save.
If Mail can’t set up the account automatically, or you use an address on your own domain, such as you@yourdomain.com, set up the account manually with your provider’s IMAP and SMTP details.
How to set up email on iPhone manually
Here are the steps for manual email account configuration on iOS devices, specifically for an iPhone.
1. Gather your email server settings
Before you start, get your email address, password, and the incoming (IMAP or POP) and outgoing (SMTP) server settings from your email provider. Each server setting includes a host name, a port number, and an encryption type. If you’re unsure which incoming protocol to use, check the difference between IMAP and POP3. IMAP is the better choice when you read the same mailbox on several devices.
Example: Hostinger Email. Hostinger Email users can find these settings in the Hostinger dashboard. They’re available for a custom email address on your own domain:
- Go to Emails and click Mailboxes next to your domain.
- Select Connect Apps & Devices from the sidebar.
- Note the IMAP, POP, and SMTP settings shown on the page.
Hostinger Email uses imap.hostinger.com (port 993, SSL) for incoming mail and smtp.hostinger.com (port 465, SSL) for outgoing mail.

2. Open Mail Accounts in the Settings app
After gathering the email settings from your email provider, it’s time to configure your iPhone’s Mail account settings.
Open the Settings app, tap Apps, then tap Mail. Tap Mail Accounts, then tap Add Account to start adding your email.
Tap Add Account and proceed to the next step.
3. Enter your email address and choose Mail Account
On the Add Account screen, enter your email address and tap Next. If your address belongs to a provider that iOS recognizes, such as iCloud, Google, Microsoft Exchange, or Yahoo, Mail shows that provider’s sign-in prompts instead, and you can finish with the automatic setup steps.
For custom-domain mailboxes, such as Hostinger Email, and less common providers, tap Add Other Account, then tap Mail Account.
4. Enter your account details
Fill in the New Account form, then tap Next:
- Name – the sender name recipients see.
- Email – the email address you want to add to your iPhone.
- Password – the password you use to log in to the mailbox.
- Description – a label for the account that only you see.
Mail tries to find your server settings automatically. If it finds them, tap Done to finish. If it doesn’t, tap Next and enter the server details manually.
5. Enter the IMAP and SMTP server details
This step prompts you to configure incoming and outgoing mail servers, which are key components for sending and receiving emails.
The incoming mail server usually employs the IMAP protocol to handle email reception and synchronization across devices. Meanwhile, the outgoing mail server uses the SMTP protocol to send emails to the recipient’s incoming server.
During this step, you can choose between IMAP and POP. In this example, we’ll go with IMAP. Enter your email server settings from the previous section as follows:
- Host Name – the incoming and outgoing server addresses from your email provider. For Hostinger Email, enter imap.hostinger.com for the incoming mail server and smtp.hostinger.com for the outgoing mail server.
- User Name – add your email address.
- Password – input your email password.
Important! The User Name and Password fields must be filled even if labeled optional.
6. Save the account and send a test email
Once you enter the server details, tap Next to start the verification process.
If it’s successful, you will see a prompt asking if you want to integrate your email account with the Mail app, the Notes app, or both. Make your selection and tap Save to complete the setup process.
Your new email account will appear on the Accounts page.
Verify the setup by sending a test email from the Mail app to another address you own, or by forwarding an email you received. Make sure the From field shows your new account. The test is successful if the message leaves the Outbox and arrives in the recipient’s inbox.
Are You Working on Mac?
Adding an email account to Mac Mail follows similar steps. Check out our guide if you need help with the setup process.
How to set up Hostinger Email on iPhone with a configuration profile
Hostinger Email users can skip manual server entry by installing an Apple configuration profile, which adds the mailbox to the Mail app automatically. This method works only when:
- The mailbox was created with Hostinger Email.
- Your domain is pointed to Hostinger.
- The correct Hostinger Email MX records are added to your domain’s DNS zone.
If you don’t have a mailbox yet, check our guide on creating an email account first.
- Log in to your Hostinger account using the Safari browser. The profile won’t download properly in other browsers.
- Go to Emails in the Hostinger dashboard and click Mailboxes next to your domain.
- Select Connect Apps & Devices from the sidebar.
- Select the email address you want to connect, then click Continue.
- Choose Apple mail.
- Scan the QR code with your iPhone or tap Download profile, then confirm the download when your device asks.
- Open the Settings app, tap Profile Downloaded, then tap Install.
- Enter your name and mailbox password when prompted, plus your device passcode if asked.
- Open the Mail app and enter your mailbox password again if prompted. Syncing existing emails can take a few minutes.
Why You Should Use Hostinger
All Hostinger hosting plans come with free email. Take advantage of our 30-day money-back guarantee to test our hosting and mailing features.
All Hostinger hosting plans come with free email. Take advantage of our 30-day money-back guarantee to test our hosting and mailing features. Already using Titan Mail through another host? See how Hostinger Mail compares with Titan Mail.
How to troubleshoot iPhone Mail setup issues
Incorrect mail server configuration and syncing are common causes of email issues with iOS devices. Here are some solutions for troubleshooting iPhone email setup errors:
Can’t Connect to the Email Server
The “Cannot Get Mail: The connection to the server failed” error appears when a connectivity issue prevents the email app from connecting to the server. Incorrect iPhone mail server settings, problems with your internet connection, or temporary server outages are common causes.
Follow these steps to resolve the connectivity issue:
- Verify internet connectivity ‒ ensure your iPhone has a stable internet connection. Try loading a web page to confirm.
- Restart Mail ‒ sometimes, simply closing and reopening the app can resolve connectivity issues.
- Re-enter server details ‒ remove and re-add your email account. Double-check the incoming and outgoing server details to ensure they’re correct.
Password and Authentication Errors
The “Incorrect password” or “Authentication failed” error indicates an issue with your password entry or the authentication method used. It can occur due to server issues or recent iOS updates.
Resolve this error by checking the authentication setting. Make sure your account uses the correct authentication method.
Here’s how to do it:
- Open the Settings app, tap Apps, then tap Mail.
- Tap Mail Accounts and select your email account.
- Tap Account, then tap Advanced.
- Under Incoming Settings, check that Authentication is set to Password. If it isn’t, tap the field to change it.
You might enter the wrong email password if you encounter the “Cannot Get Mail: no password provided for [email address]” error during the email setup process. Consider resetting it if you’re unsure of the correct password.
Hostinger users can follow these steps to reset their email password:
- Go to Emails in the Hostinger dashboard and click Mailboxes next to your domain.
- Find your mailbox, click the Options (⋮) button, and select Change Password.
- Enter a new password or use the password generator, then click Update. A custom password must be 8-50 characters long, use only Latin letters, and include at least one number, one lowercase letter, one uppercase letter, and one symbol.
After you change the password, update it on your iPhone in Settings > Apps > Mail > Mail Accounts.
If the authentication error persists, remove and re-add the email account manually. This method should resolve issues caused by a misconfigured SMTP port.
Incorrect SMTP and IMAP Settings Configuration
Seeing “Cannot Get Mail: the user name or password for SMTP is incorrect” implies SMTP or IMAP account setting issues.
To fix this misconfiguration, start by verifying your mail server settings in the Settings app. Tap Mail → Accounts and open your email account. Double-check the host name and user name for the incoming server.
Next, select Advanced and verify whether the Server Port is correct.
The SMTP protocol uses several ports, such as port 587, 465, and 2525, while IMAP typically uses port 993 with SSL. Hostinger Email uses port 465 with SSL for SMTP and port 993 with SSL for IMAP. For other providers, confirm the host names and port numbers with your email provider.
Syncing Issues With the Mail App
Common syncing issues include email messages not updating, sent emails not appearing in the Sent folder, and new emails not showing up promptly.
To resolve syncing issues, check how often your iPhone retrieves new data. Most email services send new data from the server whenever possible by setting it to Push. Your email account will default to Fetch if it isn’t available as a setting.
Here’s how to verify it:
- Open the Settings app, tap Apps, then tap Mail.
- Tap Mail Accounts, then tap Fetch New Data.
- Turn on Push if your account supports it.
- Under Fetch, choose a schedule. Automatically is the default and downloads new data when your iPhone is charging and connected to Wi-Fi. Choose a timed schedule to check for new emails more often.
If reconfiguring the Push and Fetch settings doesn’t fix the syncing issue, try removing and re-adding your email account.
Next steps after adding email to your iPhone
Send a message to your new address from another account, then reply to it from the iPhone. This confirms that both the incoming (IMAP or POP) and outgoing (SMTP) servers work. If new messages arrive late, review the Push and Fetch schedule in Settings > Apps > Mail > Mail Accounts > Fetch New Data.
If you read the same mailbox on a computer or tablet, keep IMAP as the account type so folders, read status, and sent messages stay in sync everywhere. Whenever you change your mailbox password, update it on your iPhone too, or Mail will show authentication errors.
Setting up a new business mailbox is also a good moment to check what you pay for it. If you’re weighing a switch, the Hostinger Mail vs. Zoho Mail and Hostinger Mail vs. GoDaddy Email comparisons show pricing, storage, and features side by side.
This article is a localized version of How to set up email on iPhone automatically and manually, originally published in English.









