mogulman
  • mogulman
  • 50.75% (Neutral)
  • Newbie Topic Starter
3 years ago
I'm experimenting with EASendEmail.  I use gmail to send email and after 5/30/2022 they require OAuth authentication.  I've created several Excel addins that need to send email.  I created a project in the Google Developers Console and got a Client ID and Client Secret.  I successfully used easendmail ActiveX component to send email. 

The problem I'm having is to refresh the Access Token.  In the documentation it says "You can find full sample project in EASendMail installation path to learn how to refresh token.".  I've looked all over and can't find a document/sample on how to do it for an ActiveX app.

Also, how can you tell if it expired?  How long does it last?  What it is the best to manage access token?
ivan
  • ivan
  • 100% (Exalted)
  • Administration
3 years ago
You can find the sample project in
C:\Program Files (x86)\EASendMail\Samples_VB6\Oauth

It demonstrates how to refresh the token by refresh token.

EXPLORE TUTORIALS

© All Rights Reserved, AIFEI Software Limited & AdminSystem Software Limited.