web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Setting the default from address when sending emails in CRM

(0) ShareShare
ReportReport
Posted on by 2,171

Hi

The context of my question is that a specific business in our organisation sends emails through CRM via a shared inbox. The mailbox for the shared mailbox is configured as a server side sync and working fine but when sending emails through CRM, the default from address is always the user's personal work email and they would have to manually change the from address to the shared one everytime an email is sent.

Is there a way to set the from address to default to the shared address as opposed to the personal one so that the user doesn't have to change it everytime?

Kind Regards

Mike.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    PS Profile Picture
    23,577 on at
    RE: Setting the default from address when sending emails in CRM

    Hi Mike,

    you must create a queue for this mailbox. lets say Queue for Team 1 Emails

    now add members to this queue, check necessary security roles of users.

    Ask users to go to>>service>>queue items>>open an email/item and reply; now 'from' would be queue mailbox ID

  • Raj2705 Profile Picture
    10 on at
    RE: Setting the default from address when sending emails in CRM

    Hi Prashant,

    I did as specified, but the FROM address defaults to the current user for the emails picked from the queueitems. in Dynamics 365 on-prem.

    Anything missing ?

    Thanks,

    Raj.

  • Harsha Asadi Profile Picture
    10 on at
    RE: Setting the default from address when sending emails in CRM

    same problem am facing it now in CRM 2016. please help for resoution

  • MikeC282 Profile Picture
    2,171 on at
    RE: Setting the default from address when sending emails in CRM

    I managed to do it with a javascript web resource that triggers on form load of the email. I put a lookup field on the case to queues and set that field during case creation to the queue it lands in and on form load I use the web API to check the regarding case's queue lookup value and set the from field to that with javascript on load. 

    I can share some dummy code with you if you want.

  • Suggested answer
    Emilija_988 Profile Picture
    5 on at
    RE: Setting the default from address when sending emails in CRM

    Hello,

    I have the same problem when sending emails through CRM, the default from address is always the user's personal work email and they would have to manually change the from address to the shared one everytime an email is sent.

    Now I haven't solution.

    Could you share some code from javascript, please?

    Thanks,

  • Suggested answer
    yleclerc Profile Picture
    1,549 on at
    RE: Setting the default from address when sending emails in CRM

    Here is an example of a working script:

    function setfromuser() {

       var userID = "00000000-0000-0000-0000-000000000000";

       var recordName = "Hopem Support";

       var entityName = "systemuser";

       Xrm.Page.getControl("from").getAttribute().setValue([{ id: userID, name: recordName, entityType: entityName }]);

    }

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
HR-09070029-0 Profile Picture

HR-09070029-0 2

#1
UllrSki Profile Picture

UllrSki 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans