Skip to main content

Setting Up Apple iCloud SMTP for Sending Emails from the App

Setting up the iCloud SMTP server in ABRA Flexi, including generating an app-specific password in your Apple ID

Written by Petr Pech

ABRA Flexi allows you to set up your own SMTP server, through which documents are sent from your own email address. Apple does not allow external applications to sign in with a regular account password and instead requires a so-called app-specific password. Below you'll find the complete procedure for sending emails from ABRA Flexi using an iCloud account.

ℹ️ The SMTP configuration is stored directly in ABRA Flexi, not in your email client. The procedure is therefore the same for both cloud and on-premise installations.

Setting Up Your Apple ID Account

1. The account must have two-factor authentication (2FA) enabled. You can turn it on in your Apple ID settings under the Sign-In and Security section.

2. Create an app-specific password. You'll find this option in the same section under App-Specific Passwords. Apple will prompt you to sign in again.

You will then be prompted to generate a password.

3. Enter a label for the password, for example "ABRA Flexi Mail," and a device name.

4. After clicking Generate, Apple will display the generated password. It's shown only once — write it down, as you'll need to enter it into ABRA Flexi in the next step.

Configuration in ABRA Flexi

In the desktop application, you can configure the SMTP server via the menu Tools → SMTP Server Settings. To access this feature, the user must have the ADMIN role with the server permission Access all companies.

Fill in the following values:

  • Server address: smtp.mail.me.com

  • Server port: 587

  • Connection security: SSL. If the connection fails, try TLS or STARTTLS instead.

  • Username: your full iCloud email address including the domain, for example jmeno@icloud.com

  • Password: the app-specific password generated in the previous step — this is not your standard email account password

  • Default sender: the full email address associated with your iCloud account

⚠️ Your iCloud mailbox address may not match the address you use to sign in to your Apple ID. If authentication fails, check which address is actually assigned to the mailbox. As a fallback option, you can try entering just the part of the address before the "@" symbol in the Username field.

Finally, verify your configuration using the Send test email button.

You Might Also Find Useful

Did this answer your question?