Answered by:
Plug In To Detect Incoming Email

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?
Thanks
- Moved by Frank Lee CRM MVPModerator Saturday, April 10, 2010 8:55 AM (From:CRM Online)
Saturday, April 10, 2010 8:22 AM
Answers
-
There is a DeliverIncoming message on email.
MSCRM Bing'd - http://bingsoft.wordpress.com- Proposed as answer by RhettClintonMVP, Moderator Saturday, April 10, 2010 3:59 PM
- Marked as answer by Karina Tasha Monday, April 26, 2010 5:04 AM
Saturday, April 10, 2010 3:59 PMModerator
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- Proposed as answer by RhettClintonMVP, Moderator Saturday, April 10, 2010 3:59 PM
- Marked as answer by Karina Tasha Monday, April 26, 2010 5:04 AM
Saturday, April 10, 2010 3:59 PMModerator -
@Blake
if i set it to create email, it will be triggered when user create a new email.. it's not what i want..
@RhettClinton
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.comFriday, April 16, 2010 7:33 AMModerator -
it worked....
i'm using deliverincoming
thank you
Monday, April 26, 2010 5:04 AM