Hello,
i have 2 questions about TTMSFNCCloudMicrosoftOutlookMail component on VCL delphi 11.1 platform.
-
Why can't the component be inserted on TDataModule, but only on TForm? We use it in the service and TForm cannot be used there. We are now creating the component in TDatamodule.Oncreate.
We obtain the access token in the client application and store the tokens in the database. -
We are now using our service on 2 accounts on different windows, and on one of them, after 14 days, the message Access token has expired or is not yet valid appears. If we get a token again in the client application after logging in, the service works.
Why does the token become invalid after 14 days when we download emails every minute.
Thanks in advance for your help.