SBX - Search With Button

SBX - Forum Post Title

Any email goes out to the Account or any contact , then how all related contacts to be copied in that email....??

Microsoft Dynamics CRM Forum

Chandhu asked a question on 3 Jan 2019 1:06 PM

Question Status

Verified

Hi All,

Any email  goes out to the Account or any contact , then how all related contacts to be copied in that email....??

please help above scenario.

Reply
Ravi Kashyap responded on 3 Jan 2019 2:59 PM
Verified Answer

Hi Chandu,

You can create a plugin which triggers on email create/update. This plugin fetches the related contact of the selected account and then adds them in an email..

You can refer this sample to know how to get/set values for an email activity-

arunpotti.wordpress.com/.../create-email-using-crm-sdk-and-c

docs.microsoft.com/.../sample-send-email

Hope this helps.

Reply
Chandhu responded on 4 Jan 2019 8:21 AM
Suggested Answer

Thanks Ravi,

Your forward link is console application, but i was modified to plugin with same code. it's working fine. that's link is helped me.

Thank you very much Ravi

Thanks

CM.Y

Reply
Mahender responded on 4 Jan 2019 8:24 AM
My Badges
Suggested Answer

Hi,

You can also look this for reference: http://himbap.com/blog/?p=3523

Reply
Ravi Kashyap responded on 6 Jan 2019 5:19 PM

Thanks Chandu. Yes, those were for console application but as you noticed the actual code remains same (other then the service object).

Please mark the suggestion as verified and close the thread.

Reply
Ravi Kashyap responded on 3 Jan 2019 2:59 PM
Verified Answer

Hi Chandu,

You can create a plugin which triggers on email create/update. This plugin fetches the related contact of the selected account and then adds them in an email..

You can refer this sample to know how to get/set values for an email activity-

arunpotti.wordpress.com/.../create-email-using-crm-sdk-and-c

docs.microsoft.com/.../sample-send-email

Hope this helps.

Reply
Chandhu responded on 4 Jan 2019 8:21 AM
Suggested Answer

Thanks Ravi,

Your forward link is console application, but i was modified to plugin with same code. it's working fine. that's link is helped me.

Thank you very much Ravi

Thanks

CM.Y

Reply
Mahender responded on 4 Jan 2019 8:24 AM
My Badges
Suggested Answer

Hi,

You can also look this for reference: http://himbap.com/blog/?p=3523

Reply

SBX - Two Col Forum

SBX - Migrated JS