Solved

How to fluch and discard MS CRM Mail Queue

Posted on 2011-02-16
8
1,107 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Utilizing an array to gracefully append to a list of EmailAddresses
MS Outlook is a world-class email client application that is mainly used for e-communication globally.  In this article, we will discuss the basic idea about MS Outlook, its advanced features, and types of MS Outlook File formats.
In this video we show how to create a Contact in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Recipients >> Contact ta…
The video tutorial explains the basics of the Exchange server Database Availability groups. The components of this video include: 1. Automatic Failover 2. Failover Clustering 3. Active Manager

815 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

13 Experts available now in Live!

Get 1:1 Help Now