Check incoming email and attach to case entity RRS feed

  • Question

  • Hi,

    I have a requirement in CRM 2011 on premise where I need to check incoming email with specific pattern in its subject and then attach the email to note section in case entity. Please let me know with sample code. 


    Pinku Kumar

    Wednesday, September 16, 2015 12:27 PM

All replies

  • I've done it where the email comes into a mailbox associated with a queue.  Built a plugin that fired on creation of a queueitem.  On pattern match create the case, the annotation with email included associated to the case.

    Sans queue, you could do the same on email create though this is less dependable as it relies on email router to get email into the system.

    Wednesday, September 16, 2015 6:52 PM
  • Hi,

    Thank you for your reply.

    I am writing plugin on create of email activity for incoming email, I need sample code to attach same email to existing case entity.


    Pinku Kumar

    Wednesday, September 16, 2015 9:06 PM
  • Plenty of code samples in the SDK.
    Monday, September 21, 2015 3:58 PM