Solved

How to fluch and discard MS CRM Mail Queue

Posted on 2011-02-16
8
1,097 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
Swamped with email signature updates?

Have you been given a load of changes to make to your users’ email signatures? Having to manually implement multiple signatures for every department? Let Exclaimer save you from being swamped with email signature updates!

 
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

Problems using Powershell and Active Directory?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

Not sure what the best email signature size is? Are you worried about email signature image size? Follow this best practice guide.
Local Continuous Replication is a cost effective and quick way of backing up Exchange server data. The following article describes the steps required to configure Local Continuous Replication. Also, the article tells you how to restore from a backup…
how to add IIS SMTP to handle application/Scanner relays into office 365.
This video demonstrates how to sync Microsoft Exchange Public Folders with smartphones using CodeTwo Exchange Sync and Exchange ActiveSync. To learn more about CodeTwo Exchange Sync and download the free trial, go to: http://www.codetwo.com/excha…

920 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now