Celius
  • Celius
  • 50.75% (Neutral)
  • Newbie Topic Starter
4 years ago
Hello,

Recently we purchased your product and everything works great. We are implementing it in a vb.net application hosted on a citrix server. I’ve followed everything in the examples and I’m able to send emails and everything. The issue comes up when the access token expires and a request is sent using the refresh token. Using the provided vb.net sample as an example, it fails on line 98 of OauthDesktopWrapper.vb

Dim httpResponse As HttpWebResponse = TryCast(httpRequest.EndGetResponse(responseAsyncResult), HttpWebResponse)

The authentication is using MS Office 365 SMTP

I have tried using the information from my app registration and when that failed I tried the information that came with the sample. Both instances ended with the inability to refresh access after expiration on the same line. The refresh token does exist, I do get one on initial authorization. I’m at a loss as to where to go next.
ivan
  • ivan
  • 100% (Exalted)
  • Administration
4 years ago
Hi, please email to support@emailarchitect.net for assistance,.

EXPLORE TUTORIALS

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