Tuesday, November 25, 2025
Tip of the Day: R:Mail Supports OAuth 2.0 Authorization
Product: R:Mail 11
Build: 11.0.3.11120 or higher
Section: Plugins
Keywords: OAuth, Client ID, Client Secret, Token
R:Mail supports OAuth 2.0 authorization for R:BASE applications to utilize
Google and Microsoft Azure Active Directory services, where access is consented
to API resources on behalf of the user, without sharing the user's credentials.
To use OAuth 2.0 with R:Mail, the plugin must be provided a Client/Application
ID and a Client Secret, which are used to generate an authorization token that
is then used to authenticate email messages sent by R:Mail.
The following describes how R:Mail uses OAuth 2.0:
1. The process begins when a developer of an R:BASE application with R:Mail
integration wishes to implement OAuth authentication for email sending.
2. The authorization server (Google, Microsoft) is configured with OAuth 2.0
credentials consisting of a Client/Application ID and a Client Secret.
3. R:Mail is used to submit a one-time request to the authorization server,
which includes the Client/Application ID and Client Secret.
4. The authorization server presents the user with a consent screen to
approve or deny the requested permissions.
5. Once approved, the authorization server issues an authorization token,
which is passed to R:BASE as a variable name and value.
6. The authorization token may then be secured (in a table) where R:Mail can
reuse the authorization token when sending email in other sessions.
7. When emails are sent, the authorization token is verified; if valid, the
email is sent.
Notes:
* The OAuth 2.0 authorization must be done separately from the actual email
sending process.
* When sending an email, the client ID, client secret, OAuth token, and
email address must be defined.
* When using OAuth 2.0, R:Mail uses predefined server values, so there is
no need to set the host, port, TLS, SSL, username, or password parameters.
R:Mail 11:
https://www.rbase.com/products/rmail/
The Support Team
R:BASE Technologies, Inc.
https://www.rbase.com/
--
For group guidelines, visit
http://www.rbase.com/support/usersgroup_guidelines.php
---
You received this message because you are subscribed to the Google Groups
"RBASE-L" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/rbase-l/1198309248.204276.1764064376521%40email.ionos.com.