Reading attachements form an Outlook e-mail

Post Reply
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Reading attachements form an Outlook e-mail

Post by driessen »

Hello,

I can read e-mails from my application.
I save the message, all the attachements included, into a msg-file.
This file is imported into the system of my application.

So far so good.

Does anyone have an idea how I can read the attachments in the msg-file for saving them one by one?

Thanks a lot in advance.

Integration with Office 365 is so common these days. It looks strange to me that I hardly read any question about how to build such an integration.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Admpss
Posts: 21
Joined: Wed Oct 31, 2018 7:37 pm

Re: Reading attachements form an Outlook e-mail

Post by Admpss »

hi, i need this, can you share? thanks
User avatar
driessen
Posts: 1239
Joined: Mon Oct 10, 2005 11:26 am
Location: Genk, Belgium

Re: Reading attachements form an Outlook e-mail

Post by driessen »

Hello,

What I do is this ?

I have made a macro which saves the selected emails into a folder in %USERPROFILE%\DOCUMENTS.

My application is reading all the files, each containing an e-mail, attachements included.
Then the user has to connect every file into a dossier in my application.
Then the application saves the file into a folder of my application.

I can provide you with the source code, but all text is in Dutch,
If you like, I can send you the macro which is used in Outlook.
Please send me your e-mail address.
Regards,

Michel D.
Genk (Belgium)
_____________________________________________________________________________________________
I use : FiveWin for (x)Harbour v. 21.01 - Harbour 3.2.0 (October 2020) - xHarbour Builder (January 2020) - Bcc7
Post Reply