Cloud Mail 2020 C++ Builder Edition

Questions / Feedback?

Redirect Event

Fired when a redirection is received from the server.

Syntax

typedef struct {
  String Location;
  bool Accept;
} TicmOAuthRedirectEventParams;

typedef void __fastcall (__closure *TicmOAuthRedirectEvent)(System::TObject* Sender, TicmOAuthRedirectEventParams *e);

__property TicmOAuthRedirectEvent OnRedirect = { read=FOnRedirect, write=FOnRedirect };

Remarks

This event is where the client can decide whether to continue with the redirection process or not. The Accept parameter is always true by default, but if you do not want to follow the redirection, Accept may be set to false, in which case the component raises an exception. Location is the location to which the client is being redirected. Further control over redirection is provided in the FollowRedirects property.

Copyright (c) 2022 /n software inc. - All rights reserved.
Cloud Mail 2020 C++ Builder Edition - Version 20.0 [Build 8308]