Solved

How to fluch and discard MS CRM Mail Queue

Posted on 2011-02-16
8
1,122 Views
Last Modified: 2012-05-11
we reset our workflows on CRM and this has resulted in all old workflow items (mainly cases) launching e-mails as per their workflows. We've disabled the CRM mail connectors to prevent this for now. We have disabled all workflows, flushed out the workflow queues. Still when we restatrt the email connector we get flooded with the backlog of old cases etc.
We need to find where these are and kill them, or arrange for exchange to dump these and let the queues flush through exchange to a sink until they are empty
0
Comment
Question by:stefflod
  • 2
  • 2
  • 2
  • +1
8 Comments
 
LVL 29

Assisted Solution

by:Feridun Kadir
Feridun Kadir earned 500 total points
ID: 34906920
Try an advanced find on e-mail messages and look for status reason equals pending send or sending. See if that reveals e-mails waiting to go out.  You may be able to use additional filtering to narrow it down to e-mails generated by the workflow (e.g. owned by a specific user).


0
 

Author Comment

by:stefflod
ID: 34907286
The idea being that the e-mails have already left CRM and are in Exchange somewhere? But Exchange is running ok, so I'd think it would have sent all pending mail by now. When I switch e-mail connector back on I know we'll see a pile of mail coming through. I'll have a serch on exchange but it looks to me as if the mails are sitting in a queue somewhere in the e-mail connector, in a queue of pending w/flow actions on crm, or crm has yet to res-end these and they do not yet exist in any queues.
We had thiss issue becasue someone rest the contract status on all of our service contracts and/or we applied a cuumulative update to CRM around the same time.
0
 
LVL 29

Expert Comment

by:Feridun Kadir
ID: 34907370
No, my thought is to check whether they are still in CRM.

Actually I think I have this the wrong way round. Your problem is that e-mails are coming into CRM. If that is the case, then you need to check the mailboxes (or forward mailbox) for the queues and empty them out of old e-mails.

If you use a forward mailboxm In the e-mail configuration manager tick the option to remove items from the mailbox when processed.
0
Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

 
LVL 3

Expert Comment

by:John Stevens
ID: 34919523
quick question here - the case email workflows are they set up as both on demand and as  an email/case  is created in the crm system?

here is why I am asking .. your saying that this is a backlog of old case emails - did someone kick off the workflow on multiple cases accidentally / or is this mails coming in regarding the old cases kicking off the workflow   so just trying for clarity here to understand why you have the backlog in the first place.


Secondly Feridun is suggesting seeing if they are still in CRM  you can use an advanced find on email . direction outbound and I think there is even a retry count (check for >1 at this point since even with the router down it will still try to send from the system)

you can delete these mails from within the system once you have them found through the advanced find.



0
 

Accepted Solution

by:
stefflod earned 0 total points
ID: 34997935
Ok, this is the outcome. We found that in the activtiies view there were a number of pending and sent emails. We just cleared these out (having already disabled the varous workflows).
0
 
LVL 3

Expert Comment

by:John Stevens
ID: 34998423
isn't that what furidun suggested in post id : ID: 34906920
to which Stefflod already responded to so he had already returned to see how to discover them ..
My own response was just a little more clarification on what Furidun was suggesting.
0
 
LVL 1

Expert Comment

by:modus_operandi
ID: 35042783
Starting auto-close process to implement the recommendations of the participating Expert(s).
 
modus_operandi
EE Admin
0

Featured Post

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article explains in simple steps how to renew expiring Exchange Server Internal Transport Certificate.
Learn to move / copy / export exchange contacts to iPhone without using any software. Also see the issues in configuration of exchange with iPhone to migrate contacts.
In this video we show how to create a Resource Mailbox in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: Navigate to the Recipients >> Resources tab.: "Recipients" is our default selection …
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question