# E-mail Last updated: August 14, 2026 This page covers how to configure E-mail profiles for iOS devices using ManageEngine MDM, including settings for incoming and outgoing mail servers, authentication types, SSL, and S/MIME encryption. Administrators can define account details, apply dynamic variables like %email% and %username% for automatic user mapping, restrict users from moving messages to other accounts, and secure attachments via the ManageEngine MDM Self Service app. FAQs address common scenarios around password handling and enforcing corporate mail policies. You can configure the incoming and outgoing mail server settings. **E-mail attachments can be secured, as explained [here](https://www.manageengine.com/mobile-device-management/how-to/mdm-secure-email-attachments.html) using ManageEngine MDM Self Service app (previously ManageEngine MDM app). Self Service app (previously ME MDM app) lets you securely store and view E-mail attachments**. ## Profile Description | PROFILE SETTINGS | DESCRIPTION | |---|---| | Email | | | Account Name | Name of the mail account | | Account Type | Account type as IMAP / POP | | Path Prefix | Specify the path prefix | | User Display Name | User Name to be displayed. Type "%username%" to fetch the appropriate User Name mapped to the device | | Email Address | Email address for communication. Type "%email%" to fetch the appropriate Email Address mapped to the device | | Prevent Moving Messages to other Mail Accounts | Prevent users from moving mails to other mail accounts on their devices. This will also restrict users from forwarding or replying to already moved mails using other mail accounts. | | Disable recent mail address sync
(iOS 6 and above) | Disable syncing the recently used email address in iCloud | | Incoming Mail | | | Mail server | Name of the incoming mail server | | Port | Port used for incoming mails | | User name | User Name to be displayed. Type "%username%" to fetch the appropriate User Name mapped to the device | | Authentication Type | Authentication type to be specified | | Password | Password for the incoming mail server (If the password field is left empty, password will be prompted once the profile is installed in the device). | | Use SSL for mail communication | Retrieve incoming mail through SSL | | Outgoing Mail | | | Mail server | Name of the outgoing mail server | | Port | Port used for outgoing mails | | User name | User Name to be displayed. Type "%username%" to fetch the appropriate User Name mapped to the device | | Authentication Type | Authentication type to be specified | | Password | Password for the outgoing mail server (If the password field is left empty, password will be prompted once the profile is installed in the device). | | Use outgoing password same as incoming | Option to use the same password for both outgoing and incoming mails | | Block Account usage from non-Mail Apps | Prevent the usage of Exchange Mail account from non-Mail Apps such as Photos, Safari etc. to send messages. | | Use SSL for mail communication | Specify to use SSL for mail communication | | Enable S/MIME to encrypt or decrypt Mails | Send outgoing mails using S/MIME encryption and and receive incoming mails using S/MIME decryption | | Certificate to Encrypt Outgoing Mails | Upload the required certificate to encrypt all outgoing mails. [SCEP](https://www.manageengine.com/mobile-device-management/help/profile_management/ios/mdm_scep.html) certificates can also be utilized for this. | | Certificate to Decrypt Incoming Mails | Upload the required certificate to decrypt all incoming mails. [SCEP](https://www.manageengine.com/mobile-device-management/help/profile_management/ios/mdm_scep.html) certificates can also be utilized for this. | ## Dynamic Variables - The below mentioned dynamic variables are retrieved from the data that has been provided while enrolling the device. - %email% - will get the appropriate email address, mapped to the device - %username% - will get the appropriate user name, mapped to the device ## Frequently Asked Questions 1. **What happens if I leave the mail server password field empty when creating the profile?** If the password field is left empty for either the incoming or outgoing mail server, the user is prompted to enter the password once the profile is installed on the device. 2. **Can I use the same password for both incoming and outgoing mail?** Yes. Enable the "Use outgoing password same as incoming" option so the outgoing mail server uses the same password configured for the incoming mail server. 3. **How do I keep users from forwarding corporate mail to personal mail accounts?** Enable "Prevent Moving Messages to other Mail Accounts." This stops users from moving mail to other mail accounts on their device, and also restricts forwarding or replying to already-moved mail from other accounts.