Skip to main content

Notifications

Microsoft Dynamics CRM (Archived)

Extracting emails from D365

Posted on by

Hi All,

Is there a way to extract all emails and attachments from a msg format ?

Thanks,

*This post is locked for comments

  • Suggested answer
    Justinjose Profile Picture
    Justinjose 2,707 on at
    RE: Extracting emails from D365

    Hi M,

    I have worked on similar project but no email integration was there. Created custom standalone application ( could use windows service) to extract, Create Folder in SharePoint and upload email attachment to SharePoint.  

    1. Looped through each emails
    2. Get the attachments  and uploaded into CRM.
    3. Created a custom Entity to store completed email record Guid and attachment Guid for future reference , and also to make sure all attachments are copied over

    Missing part is emails are not converted into texts are not uploaded. On the 1st step you can covert email to text and upload to in SharePoint. 

    Thanks

    Justin Jose

  • Jay2014 Profile Picture
    Jay2014 on at
    RE: Extracting emails from D365

    That's Right Justin

  • Justinjose Profile Picture
    Justinjose 2,707 on at
    RE: Extracting emails from D365

    So you want store each emails and attachment in Sharepoint folder. For example folder A with Attachment 1, Attachment 2 and Emailmessage.txt file, right? Emails in txt format?

    Thanks

  • Jay2014 Profile Picture
    Jay2014 on at
    RE: Extracting emails from D365

    Text Format ..

  • Justinjose Profile Picture
    Justinjose 2,707 on at
    RE: Extracting emails from D365

    How do you want to store emails? text format or html format?

    Thanks

  • Jay2014 Profile Picture
    Jay2014 on at
    RE: Extracting emails from D365

    Different platform, I just need the attachments along with body of email .. SharePoint or file share is fine

  • Justinjose Profile Picture
    Justinjose 2,707 on at
    RE: Extracting emails from D365

    So migrating CRM to CRM?

    Thanks

    Justin Jose

  • Jay2014 Profile Picture
    Jay2014 on at
    RE: Extracting emails from D365

    Thanks, this is a migration project not storage related.

    I need to migrate all Attachments with emails

  • Justinjose Profile Picture
    Justinjose 2,707 on at
    RE: Extracting emails from D365

    Hi M,

    Bit curious, Why you want to extract email messages. Is that because of  using storage space? Attachment use most of the storage space, I dont think messages will take too much space.

    why dont  you move all attachments to SharePoint under email documents. So the attachment can view anytime in email documents area in CRM

    Thanks

    Justin Jose

  • Jay2014 Profile Picture
    Jay2014 on at
    RE: Extracting emails from D365

    Hi Rawish,

    Would that allow me to migrate both an attachment and email body ?

    Thanks

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans