Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

get emails and export them to external application

(0) ShareShare
ReportReport
Posted on by

hey guys.

is there anyway to get/export a whole email (including attachments, etc), maybe in a *.msg or *.eml format, so i can then send it to a document management system?

the main goal i want to achieve is, as soon as a case/incident is closed, i send all the emails/documents related to that incident to a external application.

any help appreciated,

thanks in advance

*This post is locked for comments

  • Mahendar Pal Profile Picture
    45,095 on at
    RE: get emails and export them to external application

    Surly you can use SDK to extract this information, check this sample code which should help you to work with attachments: docs.microsoft.com/.../sample-upload-retrieve-download-attachment

  • Community Member Profile Picture
    on at
    RE: get emails and export them to external application

    hey Aric.

    the idea would be to use CRM Workflow or a custom Javascript, using CRM Web API, any thoughts on that?

    thanks in advance

    regards

  • Aric Levin - MVP Profile Picture
    30,188 Moderator on at
    RE: get emails and export them to external application

    You can probably do this using SSIS. Basically have a task to copy all emails and another task to copy all attachments. The attachments have the id of the email as one of their fields, so that you can place it in the right folder in your document management system.

    I would use Kingswaysoft SSIS to read that data, and your target will have to be based on your Document Management system.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics CRM (Archived)

#1
Mohamed Amine Mahmoudi Profile Picture

Mohamed Amine Mahmoudi 83 Super User 2025 Season 1

#2
Community Member Profile Picture

Community Member 52

#3
dkrishna Profile Picture

dkrishna 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans