Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.5
10.0
10.1
10.2
10.3
10.4
10.5
11.0
11.1
11.2
Statistic
FMM
Blog
The XOAUTH2 bearer token.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
CURL | 8.2 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
curl | The CURL session handle. | $curl |
Value | The option value. |
Returns OK or error.
See also XOAUTH2_BEARER option in CURL manual.
Setup oAuth for SMTP with user name, bearer and no password:
Set Variable [ $r ; Value: MBS("SendMail.SetSMTPUserName"; $EmailID; "test@gmail.com") ]
Set Variable [ $r ; Value: MBS("SendMail.SetSMTPPassword"; $EmailID; "" // empty ) ]
# ...
Set Variable [ $r ; Value: MBS("CURL.SetOptionXOAuth2Bearer"; $curl; "dXNlcj1zb21...") ]
Created 15th April 2018, last changed 23th April 2020
CURL.SetOptionWildCardMatch - CURL.SetProgressEvaluate
Feedback: Report problem or ask question.