Menu

Back to wiki

Connecting Microsoft 365 (Outlook) to ISPBox for Sending Emails

Published Feb 07, 2026 Updated Feb 07, 2026 3 min read

Connect Microsoft 365 (Outlook) to ISPBox to send emails from your domain, configure Graph delegated permissions, and enable shared mailbox sending with Send As.

Connecting Microsoft 365 (Outlook) to ISPBox for Sending Emails

Use this guide to connect Microsoft 365 so ISPBox can send email from your domain.

What this setup enables:

  • Sending emails from ISPBox through Microsoft 365.
  • Token refresh without frequent re-login.
  • Optional sending from shared mailboxes (with proper permissions).

Step 1: Create an App in Microsoft Entra

  1. Open Microsoft Entra Admin Center.
  2. Go to App registrations -> New registration.
  3. Set:
    • Name: ISPBox
    • Supported account types: Accounts in any organizational directory (Multitenant)
    • Redirect URI type: Web
    • Redirect URI value: your ISPBox redirect URL from Settings -> Mail (example format: https://YOUR-SUBDOMAIN.ispbox.net/settings/mail/connect)
  4. Click Register.

Step 2: Create a Client Secret

  1. Open Certificates & secrets -> New client secret.
  2. Set:
    • Description: ISPBox
    • Expiry: 24 months (recommended)

  1. Click Add.
  2. Copy the Secret Value immediately.
  3. Paste it in ISPBox: Settings -> Mail -> Client secret (Value).

Step 3: Copy App IDs to ISPBox
From the app Overview page, copy:

  • Application (client) ID -> ISPBox Client ID (Application ID)
  • Directory (tenant) ID -> ISPBox Directory (tenant) ID

Step 4: Configure Microsoft Graph Permissions

  1. Go to API permissions -> Add a permission.

  1. Choose Microsoft Graph -> Delegated permissions.

  1. Add:
    • Mail.Send - Allows ISPBox to send emails on behalf of the signed-in user or shared mailbox.
    • Mail.Send.Shared - Allows sending from any mailbox the user has access to, e.g., shared mailboxes. Add this to support Send As / Send on Behalf via Graph using delegated auth.
    • offline_access - Grants ISPBox permission to refresh tokens automatically — ensures the connection stays active without re-authentication.
    • openid - Required for user authentication through Microsoft’s identity platform (OpenID Connect).
    • profile - Allows access to basic profile information of the authenticated Microsoft 365 user.
    • email - Grants access to the user’s primary email address for identity verification.
  2. Click Add permissions.

  1. Click Grant admin consent.

Step 5: Connect ISPBox

  1. Go to ISPBox -> Settings -> Mail.
  2. Click Connect Microsoft 365.
  3. Sign in and approve consent.
  4. After successful authorization, ISPBox can send through Outlook/Microsoft 365.

Optional: Send from a Shared Mailbox
If you want ISPBox to send as [email protected], grant your user Send As on that shared mailbox.


How to grant Send As:

  1. Open Exchange Admin Center.
  2. Go to Recipients -> Mailboxes.
  3. Open the shared mailbox.
  4. Go to Delegation.
  5. Under Send as, click Edit -> Add your user -> Save.

Important notes: