Answered by:
Create Email Using template and Add emails to QUEUE

Question
-
Hi there,
There is a requirement where I have to create an email using Template and Assign this email to queue using Server side C# code.there is no email router or outlook client .
I have check the CRM2011 sdk Sample code by going in to Sdk\samplecode\cs\BusinessManagment.
But I dont know to use this code for my scenario in CRM Project
Thanks
Tuesday, December 24, 2013 12:31 PM
Answers
-
Ok.
In case you want to learn you should download SDK and go through samples that are provided with it. You can check Developer Training Kit as well.
Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
My blog- Proposed as answer by Andrii ButenkoMVP, Moderator Tuesday, December 24, 2013 11:04 PM
- Marked as answer by Developer crm2013 Wednesday, December 25, 2013 12:15 PM
Tuesday, December 24, 2013 10:11 PMModerator
All replies
-
Hello,
Check following article - http://msdn.microsoft.com/en-us/library/microsoft.crm.sdk.messages.sendemailfromtemplaterequest.aspx
One thing you should do is to fill 'to' field with required queue.
Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
My blog- Proposed as answer by Andrii ButenkoMVP, Moderator Tuesday, December 24, 2013 11:04 PM
Tuesday, December 24, 2013 12:49 PMModerator -
Hi thanks for the reply Andrii,
I am new to CRM development.
SO should i use this using Custom workflow activity or through plugins
Tuesday, December 24, 2013 1:24 PM -
Everything depends on your requirements. When do you need to send this email?
Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
My blogTuesday, December 24, 2013 1:39 PMModerator -
Well ,ASAP.
Tuesday, December 24, 2013 2:04 PM -
Well ,ASAP.
I mean in what scenarios you need to send this email. Sorry for confusion.Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
My blogTuesday, December 24, 2013 4:57 PMModerator -
Hi Andrii,
When ever a new Service case is created an email has been generated to notify the support department about the case and assign the email to queue and then automatically assign to that support employee who has least number of jobs to do.
Tuesday, December 24, 2013 9:10 PM -
To do that you don't need any plugins. You can do it with workflows. Recheck info about workflows, I believe you can accomplish your task without any need to write code.
Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
My blog- Proposed as answer by Andrii ButenkoMVP, Moderator Tuesday, December 24, 2013 11:04 PM
Tuesday, December 24, 2013 9:18 PMModerator -
Thank for the prompt reply Andrii,
But I just want do it with code for my learning purposes,That how to create email using template and how to assign it to queue, i know we can do this without code
Tuesday, December 24, 2013 9:49 PM -
Ok.
In case you want to learn you should download SDK and go through samples that are provided with it. You can check Developer Training Kit as well.
Dynamics CRM MVP/ Technical Evangelist at SlickData LLC
My blog- Proposed as answer by Andrii ButenkoMVP, Moderator Tuesday, December 24, 2013 11:04 PM
- Marked as answer by Developer crm2013 Wednesday, December 25, 2013 12:15 PM
Tuesday, December 24, 2013 10:11 PMModerator