Hi All,
Has somebody experience to access Microsoft Exchange / Office 365 mail using EWS ?
See:
https://docs.microsoft.com/en-us/exchan ... n-exchange
Maybe some kind of library ?
Theo
Access Microsoft Exchange / Office 365 mail using EWS
Moderator: Rathinagiri
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Access Microsoft Exchange / Office 365 mail using EWS
Try download API https://www.microsoft.com/en-us/downloa ... x?id=42951
Microsoft.Exchange.WebServices.Auth.dll
Microsoft.Exchange.WebServices.dll
Use CallDll32 to retrieve the handle and be able to manipulate the functions insideThe following files are installed by EwsManagedApi.msi:
Microsoft.Exchange.WebServices.dll The signed .NET assembly that implements the EWS Managed API.
Microsoft.Exchange.WebServices.xml Provides a Visual Studio .NET IntelliSense file for the EWS Managed API.
Microsoft.Exchange.WebServices.Auth.dll Provides an API to validate, parse and process Exchange Identity Tokens to be used by mail apps for Outlook.
Microsoft.Exchange.WebServices.Auth.xml Provides a Visual Studio .NET IntelliSense file for the Auth library.
GettingStarted.doc Provides additional help for and information about how to use the API.
License Terms.rtf Contains the license terms for using the EWS Managed API and documentation.
Readme.htm This file.
Redist.txt Defines which files and directories can be redistributed under the license terms.
Microsoft.Exchange.WebServices.Auth.dll
Microsoft.Exchange.WebServices.dll
Code: Select all
Use : nHandler := CallDll32( "OpenComFiscal" , "WINFIS32.DLL" , 1 , 0 )
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- AUGE_OHR
- Posts: 2062
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: Access Microsoft Exchange / Office 365 mail using EWS
hi,
i like to know if old CDO Syntax still work with Exchange or do i need EWS now
i have download EwsManagedApi.msi which seems to be DOT NET ... can harbour use DOT NET DLL
i like to know if old CDO Syntax still work with Exchange or do i need EWS now
i have download EwsManagedApi.msi which seems to be DOT NET ... can harbour use DOT NET DLL
have fun
Jimmy
Jimmy
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Access Microsoft Exchange / Office 365 mail using EWS
No...
Client Access protocol architecture
The Client Access services on Exchange Mailbox servers are responsible for accepting all forms of client connections. The Client Access (frontend) services proxy these connections to the backend services on the destination Mailbox server (the local server or a remote Mailbox server that holds the active copy of the user's mailbox). Clients don't directly connect to the backend services. This communication is shown in the following diagram.
[/centre]
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- danielmaximiliano
- Posts: 2612
- Joined: Fri Apr 09, 2010 4:53 pm
- Location: Argentina
- Contact:
Re: Access Microsoft Exchange / Office 365 mail using EWS
*´¨)
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
¸.·´¸.·*´¨) ¸.·*¨)
(¸.·´. (¸.·` *
.·`. Harbour/HMG : It's magic !
(¸.·``··*
Saludos / Regards
DaNiElMaXiMiLiAnO
Whatsapp. := +54901169026142
Telegram Name := DaNiElMaXiMiLiAnO
- AUGE_OHR
- Posts: 2062
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: Access Microsoft Exchange / Office 365 mail using EWS
ok THX
have fun
Jimmy
Jimmy
- AUGE_OHR
- Posts: 2062
- Joined: Sun Aug 25, 2019 3:12 pm
- DBs Used: DBF, PostgreSQL, MySQL, SQLite
- Location: Hamburg, Germany
Re: Access Microsoft Exchange / Office 365 mail using EWS
WOW ...danielmaximiliano wrote: ↑Wed Oct 16, 2019 2:46 amhttp://www.dotnetperls.com/dllimport
https://blogs.msdn.microsoft.com/deepta ... a-interop/
but those DLL must be "prepared" ... this i have to learn.
THX
have fun
Jimmy
Jimmy
Re: Access Microsoft Exchange / Office 365 mail using EWS
EWS using Harbour directly, seems to be very complex. Maybe by using PowerShell is the way to go:
https://automativity.com/Using-the-EWS- ... owershell/
Theo
https://automativity.com/Using-the-EWS- ... owershell/
Theo