Rank: Newbie
Groups: Registered
Joined: 10/10/2022(UTC)
Posts: 2
Hi I have a program run as window service. every 15s check mailbox, if new mail arrived, download it We upgraded EAGetMail from 4.6.5.5 to 5.2.5.6 because changing login with basic auth to OAuth2.0 I login O365 account and saved token in txt like your sample project I could access the mailbox and download it correctly (using same token), But it failed after serveral minutes, I got A004 Bad User is authenticated but not connected after that every connect got A002 NO AUTHENTICATE failed. re-login could work another 5-30 mins, but it need login manually. Is there something need setting? or other method to access mailbox? Please help, Thank you
Rank: Administration
Groups: Administrators
Joined: 11/11/2010(UTC) Posts: 1,154
Thanks: 9 times Was thanked: 55 time(s) in 55 post(s)
do you refresh the token by refresh token? Please email to our support email address for assistance.
Rank: Newbie
Groups: Registered
Joined: 10/10/2022(UTC)
Posts: 2
OK, I refresh token and it work again, Sometime it still got Error A004 so I refresh the token even it not yet expire. Thanks for help
Rank: Newbie
Groups: Registered
Joined: 11/22/2022(UTC)
Posts: 1
I have a script that runs every 10 minutes or so that connects to O365. Occasionally this error pops up and typically it works again on the next run. While I haven't found the cause of the error yet, one theory is that it is related to a throttling of the service by Microsoft. This is something we have experienced with O365 in the past, although with different symptoms. If I find an explanation or solution I will post it here.
Forum Jump
EmailArchitect Support
Email Component Development
- EASendMail SMTP Component - .NET Version
- EASendMail SMTP Component - Windows Store Apps
- EASendMail SMTP ActiveX Object
- EAGetMail POP3 & IMAP4 Component - .NET Version
- EAGetMail POP3 & IMAP4 ActiveX Object
Exchange Server and IIS SMTP Plugin
- DomanKeys/DKIM for Exchange Server and IIS SMTP
- Disclaimer and S/MIME for Exchange Server and IIS
EmailArchitect Email Server
- EmailArchitect Email Server (General)
- EmailArchitect Email Server Development
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.