Fetches XOAuth key from the specified URI passing extra parameters in that URI.
A string with the URI for XOAuth authentication process for IMAP/SMTP.
The return value of this method is what you then supply as a password when calling Login method of IMAP or SMTP component. Moreover, this value can be used not only with MailBee, you can pass it as OAuth key to any implementation of XOAUTH authentication.
| Exception Type | Condition |
|---|---|
| MailBeeInvalidArgumentException | uri is a null reference (Nothing in Visual Basic) or an empty string. |
See OAuth topic for the example.
OAuth Class | MailBee Namespace | OAuth.GetXOAuthKey Overload List