Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to set 'From' on an email to be a contact record on Dynamics 2015?

(0) ShareShare
ReportReport
Posted on by 97

When using the form, if I try to select a 'Sender' in from field on Dynamics 2015, only User and Queue are avilable as options. We have a case where we need to set this to be a contact. Is there a way to do this, possibly via a plugin?

The reason is I'm working on a case management / service process for a fellow team and the preference is to only create cases automatically where the incoming email to the service team is from an existing contact.

Incoming emails from someone not already on the database are displayed in a view 'Emails from Unknown Source'.

I've made a dialog to allow the team to escalate an incoming unknown source email, and it creates a new contact and a new case (regarding the contact) and sets the regarding field on the original email to be the new case. So far so good.

But the original email shows as coming from an unresolved source (email address in red). I'd like to be able to have that From field set to the newly added contact.

How to do this on this version (2015 on prem) or is this simpy not possible?

*This post is locked for comments

  • Suggested answer
    Kalpavruksh D365 CoE Profile Picture
    2,545 on at
    RE: How to set 'From' on an email to be a contact record on Dynamics 2015?

    Hi Mohammed,

    You cannot set "Sender" as Contact as there are only 2 options i.e. either user or Queue. This "Sender" composite field is designed to accept either User or Queue. There is one unsupported way to achieve this but it may create problems while upgrading your environment.


    What you need to do is as follows:
    1. Create a new solution and add in the 'from' field from the email entity - just that nothing else from the email entity
    2. Export the solution as an unmanaged solution
    3. Edit customizations.xml and look for the line that says
    <LookupTypes />
    Replace that line with:
    <LookupTypes>
    <LookupType id="00000000-0000-0000-0000-000000000000">8</LookupType>
    <LookupType id="00000000-0000-0000-0000-000000000000">2020</LookupType>
    </LookupTypes>
    4. Put the new customizations.xml back in the solution zip file replacing the existing one
    5. Import the solution back in CRM.

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

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
Victor Onyebuchi Profile Picture

Victor Onyebuchi 6

Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans