How is it possible to read the inbox of Outlook direct from FiveWin.
How is it possible to save a file attached to a message .
Thanks for your help .
How is it possible to read the inbox of Outlook direct from FiveWin.
How is it possible to save a file attached to a message .
Thanks for your help .
Jack wrote:How is it possible to read the inbox of Outlook direct from FiveWin.
#define olFolderInbox 6
FUNCTION MAIN()
LOCAL oOutlook := CREATEOBJECT( "Outlook.Application" )
LOCAL oNameSpace := oOutlook:GetNameSpace("MAPI")
LOCAL oInbox := oNameSpace:GetDefaultFolder( olFolderInbox )
LOCAL i
FOR i = 1 TO oInbox:Items:Count
? oInbox:Items[ i ]:Body
?
NEXT
oOutlook:Quit()
RETURN NILAnd can someone tell me how to read or to save the attachments ?
Thanks.
Regards,
Michel D.
Genk (Belgium)
I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773
Has nobody read my question ?
Does anyone know how to read or save attachments using OLE ?
Thanks.
Regards,
Michel D.
Genk (Belgium)
I use : FiveWin for (x)Harbour v. 25.12 - Harbour 3.2.0 (May 2025) - xHarbour Builder (January 2020) - Bcc773
You have to study Office Outlook docs.
EMG