Difference between revisions of "Template:Search"

[unchecked revision][unchecked revision]
Line 43: Line 43:
 
  acontent:billing              only in Attachments of message
 
  acontent:billing              only in Attachments of message
  
=== Search for Alternatives ===
+
=== Searching for Alternatives ===
 
Use square brackets [] to search for alternative words. Example:
 
Use square brackets [] to search for alternative words. Example:
 
[Support Request Form]
 
[Support Request Form]
Line 51: Line 51:
 
[from:[email protected] subject:important "very important"]
 
[from:[email protected] subject:important "very important"]
 
finds emails that come from ''[email protected]'' or have the word ''important'' in the subject or contain the phrase ''very important'' anywhere in the email.
 
finds emails that come from ''[email protected]'' or have the word ''important'' in the subject or contain the phrase ''very important'' anywhere in the email.
 +
 
=== Excluding Words ===
 
=== Excluding Words ===
  

Revision as of 14:42, 25 June 2024

Searching for Word Fragments

To display all emails containing a word with a particular fragment, use the wildcard character (*). For example:

auto*

will return emails with auto, automatic, automobile etc.

*example.com

will return emails with all email addresses and domains of example.com.

firstname.lastname*

will return emails with all email addresses of firstname.lastname.

Searching for Words with unknown letters

To view all emails containing a word where you do not know how to spell it correctly, you can use the question mark (?). For example

Me?er

would find emails with Meier and Meyer, but not Maier.

The question mark (?) cannot be used at the beginning of a word or at the end of a word, use the wildcard character (*) instead.

Searching for Phrases

To search for words appearing consecutively and in a specific order, use quotation marks (""). For example:

"Microsoft Windows"

will return the text Microsoft Windows but not Microsoft Works or Windows 95.

Phrases cannot contain the wildcard characters (?) and (*).

Narrowing by Fields

A search for keywords or phrases can be limited to specific fields. For example:

subject:News                  only in Subject
from:[email protected]         only in From
to:[email protected]        only in To
cc:[email protected]           only in Cc
bcc:[email protected]     only in Bcc
bcontent:billing              only in Body of message
acontent:billing              only in Attachments of message

Searching for Alternatives

Use square brackets [] to search for alternative words. Example: [Support Request Form]

finds emails that contain the word support or the word request or the word form or any combination of these.

[from:[email protected] subject:important "very important"] finds emails that come from [email protected] or have the word important in the subject or contain the phrase very important anywhere in the email.

Excluding Words

To narrow a search, you may want to specify words which must not be present in the emails. To exclude words from the search results, prepend the word with the minus character (-). For example:

ZDNet -download-tip

returns all emails from ZDNet which do not contain download-tip.

Exclusions cannot be used in alternatives, so

[Microsoft Windows -Powerpoint]

is not valid, but

[Microsoft Windows] -Powerpoint

is valid and will find emails that contain Microsoft or Windows but not the word Powerpoint.

Combining Search Options

Any of the search options described above can be combined. For example:

ZDNET -"Daily Update"

returns all emails from ZDNet which do not contain the consecutive words Daily Update.

from:ZDNET bcontent:ACME

returns all emails from ZDNET which have ACME somewhere in their message body.

from:[email protected] acontent:bill

returns all emails from [email protected] which have bill in any attachment.

to:[email protected] -sales

returns all emails to [email protected] which do not have sales in any part of the email.

[from:[email protected] from:[email protected]] acontent:Invoice -subject:Reminder

finds all emails from [email protected] or [email protected] that have Invoice in an attachment but no Reminder in the subject.

from:[email protected] to:[email protected] acontent:bill -subject:admonition

returns all message from [email protected] to [email protected] which have bill in any attachment but do not have admonition in the subject.

Search Criteria

The following options are available:

Scope

  • Subject - The subject line of the email is searched.
  • Sender/Recipient - The fields "From", "To", "Cc", and "Bcc" are searched.
  • Message body - The text-only or HTML sections of the email are searched (depending on availability).
  • Attachments File Names - The file names of the email attachments are searched.
  • Attachment Contents - The contents of the email attachments are searched. If and to what extent attachments can be searched depends on the indexing options specified (under Administrative Tools).

Folder

The folder to be searched can be selected here. By default, all folders readable by the current user are selected.

  • Include subfolder - If selected, not only the selected folder (e.g. Inbox) is searched, but also all subfolders created therein (e.g. Inbox / Projects 2008 / Profit Optimization).

From

Any keywords or email addresses entered here are searched for within the email's sender field only.

Phrases and wildcard searches are supported in this field.

To/Cc/Bcc

Any keywords or email addresses entered here are searched for within the email's recipient fields only.

Phrases and wildcard searches are supported in this field.

Date

The time frame the search is to cover can be selected here. Either a predefined range, such as Yesterday or This year, can be selected or, by choosing Custom, a specific period can be specified manually. In this case, the start and end dates will be included.

Size

By default, all messages are searched regardless of their size. Use the appropriate fields provided to limit the search according to the size of the emails, e.g. at least 5 MB or between 400 and 600 KB.

Attachments

By default, all messages are searched, regardless of whether or not they have any file attachments. Clear one of the check boxes to remove certain emails, such as those without attachments, from the results.

Important: These searches can be imprecise at times because items like background pictures could be regarded as attachments.

Priority

Emails are searched according to the priority level of the email as assigned by the sender. When choosing Low, all emails with a priority level lower than Normal are returned, when choosing High, all emails with a priority level higher than Normal are returned. Emails not containing any information regarding priority are assumed to have a priority level of Normal.

About Special Characters

Words inside indexed emails or attachments which are a combination of alphanumeric (letters, digits) and non-alphanumeric characters (white space, line break, delimiter or other control characters), may be returned in search results when searching for the alphanumerical part only.

For instance, when searching for firstname, firstname.lastname and lastname, e-mails containing the word firstname.lastname will be returned.

Separators and control characters that cause this behavior:

  • Period (.)
  • Comma (,)
  • Semicolon (;)
  • Hyphen (-)
  • Underscore (_)
  • AT-Sign (@)
  • Slash & Backslash (/,\)
  • Null character (NUL)

When the original text was divided by a different character, e.g. firstname(lastname, then only the full term is present in the index and one has to know the full term or has to use the wildcard character (*) to find emails containing that text.

Special characters at the beginning and the end of text are stripped and not present in the search index. It cannot be searched for these characters.