Dart Home | PowerTCP Mail for .NET | Custom Development | Reply | PowerTCP Mail for .NET Topics | Forums |
Author | Forum: PowerTCP Mail for .NET Topic: O365 mailbox access using a background process |
laurentbe From: Anderlecht, Belgium Posts: 30 Member Since: 10/21/03 |
posted February 3, 2021 5:13 AM Hi, I've been using successfully PowerTCP Mail for .NET since 2004 to check the whole company on premise Exchange mailboxes for incoming email. Last year our company started to migrate to O365. Currently I still can access the O365 mailboxes using IMAP clear authentication but Microsoft announced it would remove this authentication scheme mid of this year... or a few months later. (https://developer.microsoft.com/en-us/microsoft-365/blogs/deferred-end-of-support-date-for-basic-authentication-in-exchange-online/) The way to go is usually OAuth2 which is not possible in our case since the software piece which reads email is a Windows service (aka background process, deamon) that does not act on behalf of an interactive user. So I have to use the client credential flow. (https://docs.microsoft.com/en-us/azure/active-directory/develop/authentication-flows-app-scenarios) Could you tell me if there is a way to keep on using PowerTCP Mail for .NET to access O365 mailboxes using the client credential flow? At first sight it does not seems possible. I haven't found any way yet: I registered an app, got a token, but I have no way to pass it to PowerTCP Mail for .NET. Maybe you've already worked out this issue or you know the way to go? Regards, Laurent. |
Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted February 4, 2021 4:22 PM Thank you for your post. A reply has been sent directly to your email. Please let me know if you do not receive it and I will be happy to resend. All the best, Jamie ------ |
ag2411 From: Delhi, India Posts: 1 Member Since: 03/08/21 |
posted March 15, 2021 12:38 AM Hi, I have also been trying to do almost the same but with Authorization Code flow. I am getting the token properly and the same token can be used with Microsoft Graph API's to read emails but when using the same in the Dart authentication mechanism, the Imap.Authenticate() method fails with A2 NO AUTHENTICATE FAILED error. Please let me know how can I proceed further. Thanks, Anurag |
Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted March 17, 2021 5:38 PM Thank you for your post. An email has been sent to you with additional information. Please let me know if you do not receive this email and I will be happy to resend. Regards, Jamie |
kadorken From: Baden, ON Canada Posts: 2 Member Since: 07/23/21 |
posted November 18, 2021 9:13 AM We are in the same position as the others where we have a Service that reads customer emails. Have been investigating the OAuth2 client credential flow, but it would help to see an example if possible using Dart.Mail.IMAP. My attempts so far have not been fruitful. Thanks, Keith |
Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted November 24, 2021 3:28 PM Thank you for your post. An email has been sent to you with additional information. Please email support@dart.com if you did not receive a reply. Best regards, Jamie |
gdcircuit51 From: Woodbury, NY USA Posts: 1 Member Since: 09/11/22 |
posted September 11, 2022 5:15 PM I have this same issue can someone share the solution? |
Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted September 12, 2022 12:46 PM Thank you for your email. Microsoft recently added this capability for POP and IMAP connections using OAuth. You can review the documentation here: (https://docs.microsoft.com/en-us/exchange/client-developer/legacy-protocols/how-to-authenticate-an-imap-pop-smtp-application-by-using-oauth) Best, Jamie ------ |
lucascomparin From: Selvazzano Dentro, Italy Posts: 1 Member Since: 03/17/23 |
posted March 17, 2023 1:45 PM Hi, I'm also using Power TCP Mail .NET since 2007 with grate results. It is a console application downloading POP and sending SMTP messages in business application. Now I can't download POP message ONLY for Office365. Is there a guide to use you component with Office365 POP? Also do you know if other big mail companies said they will no longer support POP3? Thanks |
Jamie Powell (Admin) From: Rome, NY USA Posts: 448 Member Since: 03/13/07 Extra Support Options Custom Application Development |
posted March 20, 2023 10:01 AM Thank you for your post. This is likely due to the use of OAuth, which is not supported in your legacy version of PowerTCP Mail for .NET. We recommend you download and test the current trial to see if your issue is resolved. Please send any questions to support@dart.com, including your current product key (serial number). Thank you, Jamie |
Reply | PowerTCP Mail for .NET Topics | Forums |
This site is powered by PowerTCP WebServer for ActiveX |