It's possible to control Email-to-Case creation, but it'll require some development knowledge. To help get you started we've provided some sample code on how to prevent case creation from bounced or out-of-office emails.
First, make sure you assign a Case Origin specific to Email-to-Case.
With that in place, you can create a trigger on case, for a before insert action. Similar to this, detect Email-to-Case cases about to get inserted, and check/block their progress:
trigger manageEmailCases on Case (before insert) {
// go through our new cases and see if any email2case, "process" them
for(Case thisCase : trigger.new)
{
if(thisCase.Origin == 'Support Email') {
/* Here's where to do your work
if(thisCase.Subject.contains('OOO')) {
thisCase.name.addError('Not saving e2c');
}
*/
}
}
}
What you put in the logic depends entirely on organizational requirements.
Hard coding known origins or subjects is an option, but you also want to be defensive of "swallowing up" cases with a bit of bad logic. Please adjust the logic to account for emails in different languages or variations of Out-of-Office text. It would be more apt to manage their fields, such as autoclose them, or add a "for review" flag instead.
If this is a feature you'd like to see added to Salesforce, vote for this idea on IdeaExchange : Email-to-Case : Prevent Case Creation for Bounced or Out-of-Office Emails
000387850

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.