---
title: "Encrypting Outgoing Mail on iPhone and iPad: Setting SMTP to SSL and Port 465"
description: "**In short**On iPhone or iPad: **Settings, Mail, Accounts**, your account, **SMTP**, Primary Server. Turn on **Use SSL**, set the port to **465**, and make sure the host name is `mail.yourdomain` and the username is your full email address. Then send…"
url: "https://www.hyyat.com/en/knowledgebase/iphone-mail-smtp-ssl-port-465/"
updated: "2026-11-22"
category: Email
---

# Encrypting Outgoing Mail on iPhone and iPad: Setting SMTP to SSL and Port 465

**In short**On iPhone or iPad: **Settings, Mail, Accounts**, your account, **SMTP**, Primary Server. Turn on **Use SSL**, set the port to **465**, and make sure the host name is `mail.yourdomain` and the username is your full email address. Then send a test message.

![Encrypting Outgoing Mail on iPhone and iPad: Setting SMTP to SSL and Port 465](https://www.hyyat.com/wp-content/uploads/2026/11/hkb-tr-13513-en.webp)

![The Mail app icon on iPhone](https://www.hyyat.com/wp-content/uploads/2017/07/ios9-mail-app-icon-left-wrap.png)

If your email receives on iPhone but will not send, or you want sending to be encrypted, set the outgoing mail server (SMTP) to SSL and port 465. This does not change your messages, only how the app connects to the server.

## Steps

1. **Open Settings,** then **Mail**, then **Accounts**. On older versions: Mail, Contacts, Calendars.
2. **Choose your email account,** then tap the account itself to open its details.
3. **Tap SMTP** under Outgoing Mail Server, then the Primary Server.
4. **Set the values** as in the table below, then tap Done.
5. **Test sending** from the Mail app to another address of yours.

| Setting | Value |
| --- | --- |
| Host Name | mail.example.com, replacing example.com with your domain |
| User Name | Your full email address, such as info@example.com |
| Password | Your email password |
| Use SSL | On |
| Authentication | Password |
| Server Port | 465 |

  **Still not sending?** Try logging in to webmail with the same email and password. If it works there, the problem is the device settings. If not, the password or account needs checking.

Setting up email on iPhone from scratch is covered in [setting up cPanel email on iPhone](https://www.hyyat.com/en/knowledgebase/set-up-cpanel-email-iphone-15/).

## Summary

- SMTP: host mail.yourdomain, port 465 with SSL.
- The username is the full email address.
- Try webmail if sending fails.

Need professional email on your own domain? See [Email Hosting](https://www.hyyat.com/en/email-hosting/).

## Frequently asked questions

   What is the right SMTP port on iPhone?

465 with SSL on, and the host mail.yourdomain.

   Why does my iPhone receive email but not send it?

Usually the outgoing server settings are wrong: port, SSL, authentication or username.

   Do these settings work on iPad?

Yes, the steps are the same on iPhone and iPad.

   **Related guides**

- [How to Set Up cPanel Email on iPhone 15 Step by Step](https://www.hyyat.com/en/knowledgebase/set-up-cpanel-email-iphone-15/)
- [How to Set Up Your Email on iPhone and iPad (IMAP)](https://www.hyyat.com/en/knowledgebase/set-up-email-on-iphone-ipad/)
- [Connect Your Webmail Email to iPhone, Android and Outlook](https://www.hyyat.com/en/knowledgebase/connect-email-to-iphone-android-outlook/)
- [Outlook Cannot Send or Receive Email? How to Find and Fix the Problem](https://www.hyyat.com/en/knowledgebase/outlook-cannot-send-receive-email/)

[All guides in this section →](https://www.hyyat.com/en/kb/e-mail/)

  **Need this service from Hyyat Host?**Our team handles it for you, with support replying to tickets within 24 hours at most.[Email Hosting](https://www.hyyat.com/en/email-hosting/)[Business Hosting](https://www.hyyat.com/en/business-hosting/)
