locked
Is it possible to send mail through CRM 2011 E-mail Router without using Activity Party ? RRS feed

  • Question

  • Is it possible to send E-Mail through Email Router without using activity party in CRM 2011 ?

    also

    Is is possible to create Activity Party Dynamically ??


    *** Vin.k.S _______

    Tuesday, August 21, 2012 7:32 AM

Answers

All replies

  • Hi,

    you can not send email without mentioning To and

    if you are referring to set partylist dynamically, yes you can do this through code.


    Conatact Me
    Follow me on Twitter
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Tuesday, August 21, 2012 7:56 AM
    Moderator
  • Hi,

    you can not send email without mentioning To and

    if you are referring to set partylist dynamically, yes you can do this through code.


    Conatact Me
    Follow me on Twitter
    Make sure to "Vote as Helpful" and "Mark As Answer",if you get answer of your question.

    Thanx for Replying..

    So can i refer CRM Router in my c# plugin code.. to send mail to others. Actually i wanted to send mail to user's not present in CRM(ie. No contact info).

    Can u tell me how to create partylist dynamically ?


    Contact["name"] = "Vin.k.s"; Contact["location"] = ?

    Tuesday, August 21, 2012 8:16 AM
  • If you want to see an email to an email address not present in CRM, you still need to create an ActivityParty record, but you set the AddressUsed field to the email address, and do not set the partyid

    Microsoft CRM MVP - http://mscrmuk.blogspot.com  http://www.excitation.co.uk


    Tuesday, August 21, 2012 8:43 AM
    Moderator
  • If you want to see an email to an email address not present in CRM, you still need to create an ActivityParty record, but you set the AddressUsed field to the email address, and do not set the partyid

    Microsoft CRM MVP - http://mscrmuk.blogspot.com  http://www.excitation.co.uk



    I can't understand what you just said.. plz help me understand.

    Contact["name"] = "Vin.k.s"; Contact["location"] = ?

    Tuesday, August 21, 2012 9:54 AM
  • Try code like the following:

                    Entity e = new Entity("email");
                    Entity ap = new Entity("activityparty");
                    ap["addressused"] = "a@b.com";
                    EntityCollection to = new EntityCollection();
                    to.Entities.Add(ap);
                    e["to"] = to;


    Microsoft CRM MVP - http://mscrmuk.blogspot.co  http://www.excitation.co.uk


    Tuesday, August 21, 2012 10:59 AM
    Moderator
  • Thanks for the help..

    Contact["name"] = "Vin.k.s"; Contact["location"] = ?

    Friday, August 24, 2012 5:26 AM