This article explains how to set up custom email servers for your OneLogin account, allowing you to present a cohesive brand and increase user trust by sending emails from your own recognized domain.
Go to Settings > Branding in your OneLogin Admin Portal. Choose an existing brand (or Add a new one) and click SMTP Configuration.
By default, automated messages sent by OneLogin are delivered from no-reply@onelogin.com, with "OneLogin" showing in the From field. To use your own server, select Use custom email server.

|
Email Domain |
The domain your server uses. |
|---|---|
|
From Email |
The name you want to appear in the From field. |
|
From Email |
The email you want to appear in the From field. |

Set up the email and server settings based on the email server you plan to use.
You can enable SMTP for Microsoft 365 using Microsoft Azure Portal. For more information, see the related Microsoft documentation.
Use the settings below to configure SMTP with Office 365 in OneLogin:
|
SMTP Server Address: |
smtp.office365.com |
|---|---|
|
SMTP Server Port: |
Port 587 (recommended) or port 25 |
|
SMTP Authentication: |
OAuth2 |
|
Use TLS Connection: |
Enabled |
|
Client ID, Client Secret, Scope, Token Host and Token Path: |
Specify the required credential parameters as required by OAuth 2.0 |
Use the settings below to configure SMTP with Gmail in OneLogin:
|
SMTP Server Address: |
smtp-relay.gmail.com |
|---|---|
|
SMTP Server Port: |
Port 587 |
|
SMTP Authentication: |
Login |
|
Use TLS Connection: |
Enabled |
|
Admin Username & Admin Password: |
Username and password of the hosted mailbox |