Solved

How to fluch and discard MS CRM Mail Queue

Posted on 2011-02-16
8
1,079 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
feridun 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
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 end users causing IT problems again?

You’ve taken the time to design and update all your end user’s email signatures, only to find out they’re messing up the HTML, changing the font and ruining the imagery. What can you do to prevent this? Find out how you can save your signatures from end users 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

Are your corporate email signatures appalling?

Is it scary how unprofessional your email signatures look? Do users create their own terrible designs and give themselves stupid job titles? You can make this a lot easier for yourself by choosing an email signature management solution from Exclaimer today.

Join & Write a Comment

Easy CSR creation in Exchange 2007,2010 and 2013
Following basic email etiquette rules will help you write a professional email and achieve a good, lasting impression with your contacts.
In this video we show how to create a Distribution Group 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 >>…
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…

757 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