Skip to content

Commit 4ec219d

Browse files
authored
Merge pull request #25309 from microsoftgraph/FaithOmbongi-patch-3
Add example for searching email from multiple recipients - address user feedback
2 parents ea334b5 + e05d6d0 commit 4ec219d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

concepts/search-query-parameter.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@ Alternatively, you can search messages by specifying message property names in t
8080
| **bcc** | The **bcc** field of an email message, specified as an SMTP address, display name, or alias. | [GET][search-bcc-example] `../me/messages?$search="bcc:samanthab@contoso.com"&$select=subject,bccRecipients` |
8181
| **body** | The body of an email message. | [GET][search-body-example] `../me/messages?$search="body:excitement"` |
8282
| **cc** | The **cc** field of an email message, specified as an SMTP address, display name, or alias. | [GET][search-cc-example] `../me/messages?$search="cc:danas"&$select=subject,ccRecipients` |
83-
| **from** | The sender of an email message, specified as an SMTP address, display name, or alias. | [GET][search-from-example] `../me/messages?$search="from:randiw"&$select=subject,from` |
84-
| **hasAttachment** | `true` if an email message contains an attachment that isn't an inline attachment, `false` otherwise. | [GET][search-from-example] `../me/messages?$search="hasAttachments:true"` |
83+
| **from** | The sender of an email message, specified as an SMTP address, display name, or alias. | [GET][search-from-example] `../me/messages?$search="from:randiw"&$select=subject,from` <br/><br/>[GET][search-from-or-example] `../me/messages?$search="from:adelev OR from:alexw OR from: allanD"&$select=subject, from` |
84+
| **hasAttachment** | `true` if an email message contains an attachment that isn't an inline attachment, `false` otherwise. | [GET][search-hasatt-example] `../me/messages?$search="hasAttachments:true"` |
8585
| **importance** | The importance of an email message, which a sender can specify when sending a message. The possible values are `low`, `medium`, or `high`. | [GET][search-imp-example] `../me/messages?$search="importance:high"&$select=subject,importance` |
8686
| **kind** | The type of message. The possible values are `contacts`, `docs`, `email`, `faxes`, `im`, `journals`, `meetings`, `notes`, `posts`, `rssfeeds`, `tasks`, or `voicemail`. | [GET][search-kind-example] `../me/messages?$search="kind:voicemail"` |
8787
| **participants** | The **from**, **to**, **cc**, and **bcc** fields of an email message, specified as an SMTP address, display name, or alias. | [GET][search-part-example] `../me/messages?$search="participants:danas"` |
@@ -344,6 +344,7 @@ The following table shows some examples.
344344
[search-body-example]: https://developer.microsoft.com/graph/graph-explorer?request=me/messages?$search=%22body%3Aexcitement%22&method=GET&version=v1.0
345345
[search-cc-example]: https://developer.microsoft.com/graph/graph-explorer?request=me/messages?$search=%22cc%3Adanas%22%26$select=subject,ccRecipients&method=GET&version=v1.0
346346
[search-from-example]: https://developer.microsoft.com/graph/graph-explorer?request=me/messages?$search=%22from%3Arandiw%22%26$select=subject,from&method=GET&version=v1.0
347+
[search-from-or-example]: https://developer.microsoft.com/en-us/graph/graph-explorer?request=me%2Fmessages%3F%24search%3D%22from%3Aadelev%2BOR%2Bfrom%3Aalexw%2BOR%2Bfrom%3A%2BallanD%22%26%24select%3Dsubject%2C%2Bfrom&method=GET&version=v1.0&GraphUrl=https://graph.microsoft.com
347348
[search-hasatt-example]: https://developer.microsoft.com/graph/graph-explorer?request=me/messages?$search=%22hasAttachments=true%22&method=GET&version=v1.0
348349
[search-imp-example]: https://developer.microsoft.com/graph/graph-explorer?request=me/messages?$search=%22importance%3Ahigh%22%26$select=subject,importance&method=GET&version=v1.0
349350
[search-kind-example]: https://developer.microsoft.com/graph/graph-explorer?request=me/messages?$search=%22kind%3Avoicemail%22&method=GET&version=v1.0

0 commit comments

Comments
 (0)