Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Unanswered

How to automatically put shared mailbox address in "From" field when sending emails

Posted on by
Hi, 
 
I've only very recently created a model driven app using Dynamics customer service functionality. 
The main purpose of this app as a small-scale case management tool.
We have already gotten our shared mailbox set up. However, when I click to create a new email, my email always pop up in the "From" field rather than our preferred shared maibox address. 
 
Is there any way to alter this?
I am sure I am not the first to think of this, however I'm not very good at wording my Dynamics questions correctly yet, so any tips on blogs/other resources on how to make Model driven apps better for case management is much appreciated!

Best, 
Ida M
  • Suggested answer
    How to automatically put shared mailbox address in "From" field when sending emails
    Hello,
     
    This can be done using JavaScript.
     
    Below is an example of that, Imagining a scenery in which the email will be sent by a queue.
    function _setFromUser() {
        var QueueID = "00000000-0000-0000-0000-000000000000";
        var recordName = "Queue Name";
        var entityName = "queue";
        Xrm.Page.getControl("from").getAttribute().setValue([{ id: QueueID, name: recordName, entityType: entityName }]);
    }
    Regards,
    Jimmy Passeti | Microsoft MVP
    ✅ Please mark as Verified if this answered your question!

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Complete!

🔔 Be sure to subscribe to the new forums you are interested in to stay up to date! 🔔

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 229,658 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans