Plug In To Detect Incoming Email RRS feed

  • Question

  • i want to make a plug in that is triggered when a new email is coming to queue..

    I'm not sure about which entity should i use..

    Can anybody help me please?



    Saturday, April 10, 2010 8:22 AM


All replies

  • I have never tried this but you should be able to have a plugin on Create of an email and then in your plugin check if the To field is set to the queue you want.
    Blake Scarlavai - Sonoma Partners - http://www.sonomapartners.com/
    Saturday, April 10, 2010 3:20 PM
  • There is a DeliverIncoming message on email.
    MSCRM Bing'd - http://bingsoft.wordpress.com
    Saturday, April 10, 2010 3:59 PM
  • @Blake

    if i set it to create email, it will be triggered when user create a new email.. it's not what i want..



    I'll try it


    Thanks for your anwer

    Tuesday, April 13, 2010 1:17 AM
  • Yeah but I was thinking that CRM would create the email when it gets delivered and send it to the Queue.  Therefore in your plugin on create you could check if the To is the queue you are looking for.  But the DeliverIncoming message would be more suitable if it works.
    Blake Scarlavai - Sonoma Partners - http://www.sonomapartners.com/
    Tuesday, April 13, 2010 2:54 AM
  • i tried deliveryincoming and create, none of them were working...


    got another idea?

    Friday, April 16, 2010 3:59 AM
  • Make sure you tried DeliverIncoming and not DeliveryIncoming. Have you tried debugging your plugin to ensure it was called. I think you should have had both but at least Create definitely would have worked. If you try turning on tracing you may find an error message if somehting went wrong.
    MSCRM Bing'd - http://bingsoft.wordpress.com
    Friday, April 16, 2010 7:33 AM
  • it worked....

    i'm using deliverincoming


    thank you

    Monday, April 26, 2010 5:04 AM