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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

How to set Email Reply From address to Queue by default?

(1) ShareShare
ReportReport
Posted on by

When replying to an email, it sets the From field to the user performing the action.

How can I get it to default to be From the Queue it is in instead of the individual user, so that when it is replied to again it is sent to the Queue and not the User.

*This post is locked for comments

I have the same question (0)
  • wikap.dk Profile Picture
    456 on at

    I have same question - anyone who have found a solution to this?

  • Verified answer
    Brock Hensley Profile Picture
    on at

    I ended up creating a Workflow for Email entity to start when Record is created, to change the From address. In order to change the from address, however, you must first change the email into Draft status.

    Here is the logic:

    If email direction equals outbound and from does not equal the queue address then;

    wait until email status reason does not equal draft then;

    change record status to email draft

    update email from address

    change record status to email pending send

  • Rickard Norström Profile Picture
    on at

    How do you catch what address the reply-to-mail should have? I don't see any reference to the queue or the email you're replying to.

  • Ulrich Faden Profile Picture
    on at

    I Have the same question, as Rickard, how do I figure out the query address? Starting from Queue item instead?

  • Suggested answer
    Community Member Profile Picture
    on at

    I had this same issue when sending emails from cases using a template; i wanted to:

    1) change the "from" to a queue

    2) change de "to" to the contact of the case

    I ended up achieving this, in CRM 2011, by:

    1) creating a worflow like AWOMS mentioned

    2) using jscript to get the contact´s email and put it on the "to" automatically when the email is loaded

  • Rickard Norström Profile Picture
    on at

    I solved this one but ran into problems after the org was upgraded to CRM 2013.

    I used a queryattribute called _InReplyToId in CRM 2011 which is availalble and holds the Id of the email you're replying to. There I got the info I wanted. For CRM 2013 there's a lookup called parentactivityid which holds the information about the email you're replying to.

    Good Luck!

  • Community Member Profile Picture
    on at

    Can someone write how to do it - step by step? Thx

  • Suggested answer
    Joe Gill Profile Picture
    on at

    Some javascipt along these lines should work

    function setEmailDefaultFrom() {

       if (Xrm.Page.ui.getFormType() == 1/*Create*/) {

           var pl = new Array();

           pl[0] = new Object();

           pl[0].id = "{226CAA39-EC34-E411-BCB1-D89D67637CD8}";

           pl[0].name = "Support Queue";

           pl[0].entityType = "queue";

           Xrm.Page.getAttribute("from").setValue(pl);

       }

    }

    hth

    Joe

  • Community Member Profile Picture
    on at

    Joe I tired this using below in CRM 2013. Added as a web resource then added to the email form as a form library then a OnLoad Event and get nothing? Any suggestions? Does this not work in CRM 2013?

    function setEmailDefaultFrom() {

      if (Xrm.Page.ui.getFormType() == 1/*Create*/) {

          var pl = new Array();

          pl[0] = new Object();

          pl[0].id = "{8205A2D3-4930-E311-8816-000C29592105}";

          pl[0].name = "support test";

          pl[0].entityType = "queue";

          Xrm.Page.getAttribute("from").setValue(pl);

  • Community Member Profile Picture
    on at

    How do i find this lookup?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans