Don't create new case if fogbugz email is in CC field - FogBugz Knowledge Exchange most recent 30 from http://fogbugz.stackexchange.com2013-05-22T02:04:55Zhttp://fogbugz.stackexchange.com/feeds/question/10877http://www.creativecommons.org/licenses/by-nc/2.5/rdfhttp://fogbugz.stackexchange.com/questions/10877/dont-create-new-case-if-fogbugz-email-is-in-cc-fieldDon't create new case if fogbugz email is in CC fieldWilliam W2012-10-16T19:20:44Z2012-10-19T01:30:32Z
<p>We fairly recently began using FogBugz for support emails from our clients and have run into an issue since many of them are used to using our personal email addresses.</p>
<p>The problem is that someone will send an email to one or more of our personal emails and also cc our fogbugz email. This will create a new case and sometimes one of us doesn't notice and sends a response, which creates another case.</p>
<p>I know one solution involving no fogbugz changes would be to convince our clients to use the email properly and make sure everyone is diligent about not hitting reply-all when our fogbugz email is included. Is there a way to help force this with the system though? One idea was not creating a new case if the fogbugz email is in the cc field. Then we can respond or open a new case for it ourselves.</p>
<p>This is a similar discussion: <a href="http://fogbugz.stackexchange.com/questions/2018/how-can-i-prevent-multiple-cases-from-being-opened-when-a-fogbugz-customer-ccs-t" rel="nofollow">http://fogbugz.stackexchange.com/questions/2018/how-can-i-prevent-multiple-cases-from-being-opened-when-a-fogbugz-customer-ccs-t</a></p>
http://fogbugz.stackexchange.com/questions/10877/dont-create-new-case-if-fogbugz-email-is-in-cc-field/10880#10880Answer by db for Don't create new case if fogbugz email is in CC fielddb2012-10-17T11:26:49Z2012-10-17T11:26:49Z<p>Another workaround that may help is the <a href="http://www.fogcreek.com/fogbugz/plugins/plugin.aspx?ixPlugin=72" rel="nofollow">Case Event Merge plugin</a>.</p>
http://fogbugz.stackexchange.com/questions/10877/dont-create-new-case-if-fogbugz-email-is-in-cc-field/10885#10885Answer by William W for Don't create new case if fogbugz email is in CC fieldWilliam W2012-10-18T23:55:06Z2012-10-19T01:30:32Z<p>We came up with a solution that works pretty well.</p>
<p>Our email server is Exchange 2010, so we set up a new folder called "processed" and a new server-side rule.</p>
<p>The rule is triggered if our fogbugz email is in the cc field and not in the to field. The rule first sends an auto-reply message so the sender knows their email was not delivered. It also serves to train users not to CC our fogbugz email.</p>
<blockquote>
<p>You sent an email to our support system (support@ourdomain.com) as a "CC" instead of the main "To" recipient. </p>
<p>This account only accepts messages where it is the primary "To" recipient. If you intended to create a new support case, please resend your email with support@ourdomain.com in the "To" field. If you did not intend to create a new case or were contacting someone else personally, you may ignore this message.</p>
</blockquote>
<p>The rule also moves the email to the processed directory which is set to auto-delete messages after 30 days.</p>
<p>We first tried deleting the email immediately since there's no reason to hold on to it, but Exchange handles deletes differently and leaves the message in the inbox for a few seconds giving FogBugz time to pick up the message sometimes. By replacing the delete with a folder move, Exchange skips the inbox entirely and new cases are never created when the rule is triggered. Also, the email auto-reply type needs to be a "specific message" and not a "specific template" or else it won't run server-side.</p>