Difference between revisions of "Template:Search"

[unchecked revision][checked revision]
 
(12 intermediate revisions by 2 users not shown)
Line 4: Line 4:
 
  auto*
 
  auto*
  
will return ''auto'', ''automatic'', ''automobile'' etc.
+
will return emails with ''auto'', ''automatic'', ''automobile'' etc.
  
 
  *example.com
 
  *example.com
  
will return all email addresses and domains of ''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 ===
 
=== 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
 
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
  
  "Andr?"
+
  Me?er
  
would locate ''Andre'' and ''André''.
+
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 ===
 
=== Searching for Phrases ===
 
 
To search for words appearing consecutively and in a specific order, use quotation marks (""). For example:
 
To search for words appearing consecutively and in a specific order, use quotation marks (""). For example:
  
Line 24: Line 29:
  
 
will return the text ''Microsoft Windows'' but not ''Microsoft Works'' or ''Windows 95''.
 
will return the text ''Microsoft Windows'' but not ''Microsoft Works'' or ''Windows 95''.
 +
 +
Phrases cannot contain the wildcard characters (?) and (*).
  
 
=== Narrowing by Fields ===
 
=== Narrowing by Fields ===
Line 29: Line 36:
  
 
  subject:News                  only in ''Subject''
 
  subject:News                  only in ''Subject''
  from:john@mailstore.com       only in ''From''
+
  from:john@example.com         only in ''From''
  to:michael@mailstore.com     only in ''To''
+
  to:michael@example.com       only in ''To''
  cc:lisa@mailstore.com         only in ''Cc''
+
  cc:lisa@example.com           only in ''Cc''
  bcc:customers@mailstore.com   only in ''Bcc''
+
  bcc:customers@example.com     only in ''Bcc''
 
  bcontent:billing              only in Body of message
 
  bcontent:billing              only in Body of message
 
  acontent:billing              only in Attachments 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 ===
 
=== Excluding Words ===
Line 42: Line 58:
 
  ZDNet -download-tip
 
  ZDNet -download-tip
  
returns all emails from ZDNet which do not contain ''download-tip''.
+
returns all emails from ''ZDNet'' which do not contain ''download-tip''.
 +
 
 +
ZDNet -download-tip -"free gift"
 +
 
 +
returns all emails from ''ZDNet'' which do not contain ''download-tip'' and do not contain the phrase ''free gift''.
 +
 
 +
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''.
 +
 
 +
Valid is also
 +
-[Microsoft Windows Powerpoint]
 +
which returns all emails that do not contain any of the words ''Microsoft'', ''Windows'' or ''Powerpoint''.
  
 
=== Combining Search Options ===
 
=== Combining Search Options ===
Line 52: Line 84:
 
returns all emails from ZDNet which do not contain the consecutive words ''Daily Update''.
 
returns all emails from ZDNet which do not contain the consecutive words ''Daily Update''.
  
  from:ZDNET bcontent:MailStore
+
  from:ZDNET bcontent:ACME
return all emails from ZDNET which have ''MailStore'' somewhere in their message body.
+
returns all emails from ZDNET which have ''ACME'' somewhere in their message body.
  
 
  from:[email protected] acontent:bill
 
  from:[email protected] acontent:bill
return all emails from ''[email protected]'' which have ''bill'' in any attachment.
+
returns all emails from ''[email protected]'' which have ''bill'' in any attachment.
  
 
  to:[email protected] -sales
 
  to:[email protected] -sales
return all emails to ''[email protected]'' which do not have sales in any part of the email.
+
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.
 +
 
 +
 +
returns all emails from ''[email protected]'' or ''[email protected]'' that do have ''bill'' or ''admonition'' anywhere and are not sent to ''[email protected]''.
  
 
  from:[email protected] to:[email protected] acontent:bill -subject:admonition
 
  from:[email protected] to:[email protected] acontent:bill -subject:admonition
return all message from ''[email protected]'' to ''[email protected]'' which have ''bill'' in any attachment but do not have ''admonition'' in the subject.
+
returns all message from ''[email protected]'' to ''[email protected]'' which have ''bill'' in any attachment but do not have ''admonition'' in the subject.
  
 +
{{#if:{{{1|}}}|
 
=== Search Criteria ===
 
=== Search Criteria ===
 
The following options are available:
 
The following options are available:
Line 75: Line 115:
  
 
==== Folder ====
 
==== Folder ====
The folder to be searched by MailStore can be selected here. By default, all folders readable by the current user are selected.  
+
The folder to be searched can be selected here. By default, all folders readable by the current user are selected.  
  
*'''Include subfolder''' - If selected, MailStore not only searches the selected folder (e.g. ''Inbox''), but all subfolders created therein (e.g. ''Inbox / Projects 2008 / Profit Optimization'') as well.
+
*'''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 ====
 
==== From ====
Line 102: Line 142:
 
==== Priority ====
 
==== 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''.
 
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 ===
 
=== About Special Characters ===
 
{{Search - About Special Characters}}
 
{{Search - About Special Characters}}
 +
<noinclude>
 +
[[de:Vorlage:Suche]]
 +
[[en:Template:Search]]
 +
</noinclude>

Latest revision as of 15:27, 27 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.

ZDNet -download-tip -"free gift"

returns all emails from ZDNet which do not contain download-tip and do not contain the phrase free gift.

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.

Valid is also

-[Microsoft Windows Powerpoint]

which returns all emails that do not contain any of the words Microsoft, Windows or 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] from:[email protected]] [bill admonition] -[to:[email protected] cc:[email protected] bcc:[email protected]]

returns all emails from [email protected] or [email protected] that do have bill or admonition anywhere and are not sent to [email protected].

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.


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.