Solved

How to fluch and discard MS CRM Mail Queue

Posted on 2011-02-16
8
1,137 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
Office 365 Training for Admins - 7 Day Trial

Learn how to provision tenants, synchronize on-premise Active Directory, implement Single Sign-On, customize Office deployment, and protect your organization with eDiscovery and DLP policies.  Only from Platform Scholar.

 
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

This article lists the top 5 free OST to PST Converter Tools. These tools save a lot of time for users when they want to convert OST to PST after their exchange server is no longer available or some other critical issue with exchange server or impor…
Having trouble getting your hands on Dynamics 365 Field Service or Project Service trial? Worry No More!!!
In this video we show how to create an Address List 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 Organization >> Ad…
To add imagery to an HTML email signature, you have two options available to you. You can either add a logo/image by embedding it directly into the signature or hosting it externally and linking to it. The vast majority of email clients display l…

751 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