How to compose a condition

In order for a filter to work properly, you need to define the condition correctly. The condition specifies the parameter, its value, and how strict the condition is.

Parameters and values

Parameter

What to specify in a parameter's value

Example of parameter value

From

Sender address

alice.the.girl@yandex.com

To or Сс

Recipient address or Cc recipient address

cheshire.katze@yandex.com

To

Recipient address

cheshire.katze@yandex.com

Cc

Cc recipient address

just.mad.hatter@yandex.com

Subject

Email subject

Madmen

Email body

Email text

We're all mad here. I'm mad. You're mad.

Attachment name

Name of attached file

document.pdf

Header

Information from message headers

To: cheshire.katze@yandex.com

The strictness of the conditions

There are four strictness levels:

Email to filter

Applicable for parameters

Example of filtering

Emails with parameters strictly matching the specified value (username or address).

To

From

Cc

To or Сс

When filtering by From, you can specify either an email address like just.mad.hatter@yandex.com or a name like Mad Hatter. In both cases, the filter will apply to emails sent by "Mad Hatter" from just.mad.hatter@yandex.com.When filtering by From, you can specify either an email address like igor.markov.sales@example.com or a name like Igor Markov. In both cases, the filter will apply to emails sent by "Igor Markov" from igor.markov.sales@example.com.

Emails with parameters that strictly match the specified value.

Subject

Email body

Attachment name

Header

If you enter "we're mad" for the Subject parameter, an email with the subject "We're mad" will be filtered.

Emails with bodies matching the specified value (standalone or in a phrase, the initial word and its word forms).

Email body

If you enter "mad" for the Message body parameter, emails containing "We're all mad in our own way" or "We're all mad" in the body will be filtered alike.

Email to filter

Applicable for parameters

Example of filtering

Email with parameters that strictly exclude the specified value (username or address).

To

From

Cc

To or Сс

When filtering by From, you can specify either an email address like just.mad.hatter@yandex.com or a name like Mad Hatter. In both cases, the filter will apply to all emails except for those sent by "Mad Hatter" from just.mad.hatter@yandex.com.

Emails with parameters that strictly exclude the specified value.

Subject

Email body

Attachment name

Header

If you enter "madmen" for the Subject parameter, all emails that don't have subjects like "We're all madmen" or "Different kinds of madmen" will be filtered.

Emails with texts that match the specified value and don't contain it (whether standalone or in a phrase, the initial word and its word forms).

Email body

If you enter "madmen" for the Message body parameter, all emails will be filtered except for those containing text like "Different kinds of madmen" or "We're all ".

Email to filter

Applicable for parameters

Example of filtering

Email with parameters that include the specified value or a phrase with that value in their username or address.

To

From

Cc

To or Сс

When filtering by From, you can specify either an email address value like just.mad.hatter or a name value like "Hatter". In both cases, the filter will apply to emails sent by "Mad Hatter" from just.mad.hatter@yandex.com.

Emails with parameters containing the specified value as part of a phrase and its word forms.

Subject

Email body

Attachment name

Header

If the Subject parameter has the value “Green tea”, all emails with the subjects “Green tea” and “We drink black tea rather than green tea” will be filtered. Emails with subjects like "Tea from Mad Hatter" or "Let's have some tea?" won't be filtered.

Emails with bodies matching the specified value (exact match or a phrase containing it, regardless of formatting).

Email body

If you enter "mad" for the Message body parameter, emails containing "We're all mad in our own way" or "We're all mad" in the body will be filtered alike.

Email to filter

Applicable for parameters

Example of filtering

Email with parameters that don't include the specified value or a phrase with the value in the username or address.

To

From

Cc

To or Сс

When filtering by From, you can specify either an email address value like just.mad.hatter or a name value like "Hatter". In both cases, the filter will apply to all emails except for those sent by "Mad Hatter" from just.mad.hatter@yandex.com.

Emails with parameters not containing the specified value and its word forms as part of a phrase.

Subject

Email body

Attachment name

Header

If the Subject parameter has the value “Green tea”, emails with the subjects “Black tea” and “Today we're drinking tea” will be filtered. Emails with subjects like "Green tea" or "Let's have some green tea?" won't be filtered.

Emails with bodies not matching the specified value (exact match or a phrase containing it, regardless of formatting).

Email body

If you enter "We're all madmen" for the Message body parameter, all emails will be filtered except for those containing text like "We're all funny " or "We're all madmen but different kinds".

Contact support