agentic-net-examples / working-with-exchange-webdav-client
AGENTS.md2 starsChanged 7 months agoMITView on GitHub
C# examples for working-with-exchange-webdav-client using Aspose.Email for .NET
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 35,337 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository18 other files it gives its agents.
- aspose-email-examplesAGENTS.md
- convert-between-formatsAGENTS.md
- convert-thunderbird-mbox-filesAGENTS.md
- programming-email-verificationAGENTS.md
- programming-with-gmailAGENTS.md
- read-and-export-zimbra-tgz-filesAGENTS.md
- working-with-amp-html-emailsAGENTS.md
- working-with-exchange-ews-clientAGENTS.md
- working-with-ibm-notesAGENTS.md
- working-with-imap-clientAGENTS.md
- working-with-microsoft-graph-clientAGENTS.md
- working-with-mime-messagesAGENTS.md
- working-with-outlook-itemsAGENTS.md
- working-with-outlook-storage-filesAGENTS.md
- working-with-pop3-clientAGENTS.md
- working-with-smtp-clientAGENTS.md
- zimbraAGENTS.md
- llms.txtllms.txt
The file
We split this AGENTS.md into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 211
Follow root boundaries and testing guide.
≈ “Common” is an estimate: at least 1 in 5 of the 45,344 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
AGENTS - working-with-exchange-webdav-client
Persona
You are a C# developer working in the working-with-exchange-webdav-client category. This folder contains standalone C# examples for this category. See the root AGENTS.md for repository-wide conventions.
Scope
- Examples for working-with-exchange-webdav-client.
- Files are standalone
.csexamples stored directly in this folder.
Required Namespaces
using System;(156 file(s))using Aspose.Email;(148 file(s))using Aspose.Email.Clients.Exchange.Dav;(113 file(s))using Aspose.Email.Clients.Exchange;(80 file(s))using System.Net;(41 file(s))using System.IO;(37 file(s))using Aspose.Email.Tools.Search;(29 file(s))using Aspose.Email.Calendar;(19 file(s))using Aspose.Email.Storage.Pst;(11 file(s))using Aspose.Email.Mapi;(9 file(s))using Aspose.Email.Clients.Smtp;(8 file(s))using Aspose.Email.Clients.Exchange.WebService;(5 file(s))using Aspose.Email.PersonalInfo;(5 file(s))using System.Collections.Generic;(4 file(s))using System.Text;(2 file(s))using Aspose.Email.Clients;(2 file(s))using Aspose.Email.Calendar.Recurrences;(2 file(s))using System.Net.Security;(2 file(s))using System.Security.Cryptography.X509Certificates;(2 file(s))using System.Linq;(2 file(s))using System.Security.Cryptography;(1 file(s))using System.Net.Mime;(1 file(s))using System.Text.Json;(1 file(s))using System.Threading;(1 file(s))using Aspose.Email.Clients.Imap;(1 file(s))
Files in this folder
| File | Description |
| access-and-retrieve-messages-from-a-different-user-s-mailbox-programmatically-handling-authentication-and-permissions.cs | access and retrieve messages from a different user s mailbox programmatically handling authentication and permissions |
| add-an-attachment-created-from-an-in-memory-byte-array-to-a-mailmessage-before-sending-via-exchangeclient.cs | add an attachment created from an in memory byte array to a mailmessage before sending via exchangeclient |
| add-custom-x-custom-header-values-to-the-mailmessage-before-sending-to-provide-application-specific-metadata.cs | add custom x custom header values to the mailmessage before sending to provide application specific metadata |
| add-optional-attendees-to-the-appointment-by-populating-the-optionalattendees-collection-with-additional-email.cs | add optional attendees to the appointment by populating the optionalattendees collection with additional email |
| add-required-attendees-to-the-appointment-by-inserting-their-email-addresses-into-the-requiredattendees-collect.cs | add required attendees to the appointment by inserting their email addresses into the requiredattendees collect |
| after-connecting-retrieve-the-exchange-server-version-string-to-verify-compatibility-with-supported-webdav-feat.cs | after connecting retrieve the exchange server version string to verify compatibility with supported webdav feat |
| apply-a-date-range-filter-to-listmessages-to-retrieve-only-emails-received-within-the-last-thirty-days.cs | apply a date range filter to listmessages to retrieve only emails received within the last thirty days |
| apply-a-filter-that-selects-email-items-whose-message-id-header-matches-the-specified-identifier.cs | apply a filter that selects email items whose message id header matches the specified identifier |
| apply-a-filter-that-selects-messages-originating-from-a-designated-sender-s-email-address-during-processing.cs | apply a filter that selects messages originating from a designated sender s email address during processing |
| apply-a-filter-that-selects-records-where-the-date-field-equals-the-current-system-date.cs | apply a filter that selects records where the date field equals the current system date |
| apply-a-filter-to-retrieve-only-items-addressed-to-a-specified-recipient-within-the-collection.cs | apply a filter to retrieve only items addressed to a specified recipient within the collection |
| apply-a-regular-expression-to-filter-subjects-containing-numeric-codes-via-mailquery-subjectregex-property-effe.cs | apply a regular expression to filter subjects containing numeric codes via mailquery subjectregex property effe |
| apply-a-webdav-filter-to-listmessages-that-selects-only-unread-messages-based-on-the-isread-property-value.cs | apply a webdav filter to listmessages that selects only unread messages based on the isread property value |
| apply-mailquery-or-to-fetch-messages-that-satisfy-either-a-date-range-or-a-recipient-domain-condition.cs | apply mailquery or to fetch messages that satisfy either a date range or a recipient domain condition |
| apply-message-filtering-criteria-to-retrieve-or-exclude-specific-email-items-based-on-defined-parameters.cs | apply message filtering criteria to retrieve or exclude specific email items based on defined parameters |
| apply-specified-criteria-to-filter-email-messages-returning-only-those-that-meet-the-defined-conditions.cs | apply specified criteria to filter email messages returning only those that meet the defined conditions |
| assign-a-low-importance-level-to-the-email-to-indicate-that-the-message-is-not-time-critical-for-recipients.cs | assign a low importance level to the email to indicate that the message is not time critical for recipients |
| attach-a-file-stream-to-mailmessage-attachments-to-include-a-custom-attachment-with-the-meeting-request-it.cs | attach a file stream to mailmessage attachments to include a custom attachment with the meeting request it |
| attach-a-local-file-to-an-email-by-loading-it-into-a-filestream-and-adding-it.cs | attach a local file to an email by loading it into a filestream and adding it |
| authenticate-to-the-exchange-server-using-webdav-with-ntlm-credentials-and-confirm-successful-login.cs | authenticate to the exchange server using webdav with ntlm credentials and confirm successful login |
| combine-a-read-receipt-request-with-high-priority-flag-on-the-email-to-emphasize-importance-and-track-opening.cs | combine a read receipt request with high priority flag on the email to emphasize importance and track opening |
| combine-multiple-query-criteria-using-the-logical-and-operator-to-retrieve-records-that-satisfy-all-conditions.cs | combine multiple query criteria using the logical and operator to retrieve records that satisfy all conditions |
| combine-multiple-search-criteria-using-the-logical-or-operator-to-retrieve-messages-matching-any-condition.cs | combine multiple search criteria using the logical or operator to retrieve messages matching any condition |
| combine-subject-and-sender-filters-using-mailquery-and-to-retrieve-messages-that-match-both-conditions.cs | combine subject and sender filters using mailquery and to retrieve messages that match both conditions |
| combine-unread-status-and-specific-subject-keyword-filters-in-a-single-webdav-query-to-narrow-down-target-email.cs | combine unread status and specific subject keyword filters in a single webdav query to narrow down target email |
| compose-and-send-email-messages-programmatically-managing-recipients-subject-line-message-body-and-file-attachments.cs | compose and send email messages programmatically managing recipients subject line message body and file attachments |
| compute-a-sha-256-hash-of-the-entire-email-content-after-download-to-verify-data-integrity-against-the-source.cs | compute a sha 256 hash of the entire email content after download to verify data integrity against the source |
| configure-exchangeclient-to-route-all-webdav-traffic-through-a-specified-http-proxy-server-for-corporate-networ.cs | configure exchangeclient to route all webdav traffic through a specified http proxy server for corporate networ |
| construct-a-webdav-query-string-to-list-messages-whose-subject-contains-the-word-invoice-and-execute-it.cs | construct a webdav query string to list messages whose subject contains the word invoice and execute it |
| construct-advanced-query-expressions-to-retrieve-messages-based-on-multiple-criteria-and-logical-operators-efficiently.cs | construct advanced query expressions to retrieve messages based on multiple criteria and logical operators efficiently |
| create-a-mailquery-object-to-filter-messages-where-the-subject-contains-specific-keywords.cs | create a mailquery object to filter messages where the subject contains specific keywords |
| create-a-new-calendar-appointment-with-attendees-and-send-meeting-invitations-via-webdav-post-request.cs | create a new calendar appointment with attendees and send meeting invitations via webdav post request |
| create-a-new-contact-in-a-specified-folder-using-webdav-post-and-include-required-properties.cs | create a new contact in a specified folder using webdav post and include required properties |
| create-a-recurring-weekly-appointment-by-configuring-the-recurrence-property-on-the-appointment-object-it.cs | create a recurring weekly appointment by configuring the recurrence property on the appointment object it |
| create-an-appointment-object-and-define-its-location-start-time-end-time-and-subject-details.cs | create an appointment object and define its location start time end time and subject details |
| create-an-email-with-an-html-body-that-references-external-css-stylesheets-ensuring-proper-rendering-in-outlook.cs | create an email with an html body that references external css stylesheets ensuring proper rendering in outlook |
| create-and-dispatch-meeting-request-messages-programmatically-ensuring-proper-icalendar-format-and-comprehensive-attendee.cs | create and dispatch meeting request messages programmatically ensuring proper icalendar format and comprehensive attendee |
| create-and-edit-outlook-items-from-an-ics-file-then-convert-and-save-as-msg-via-outlook-storage-and-smtp.cs | create and edit outlook items from an ics file then convert and save as msg via outlook storage and smtp |
| delete-a-contact-from-the-exchange-server-by-issuing-a-webdav-delete-request-with-appropriate-headers.cs | delete a contact from the exchange server by issuing a webdav delete request with appropriate headers |
| delete-a-single-email-from-a-folder-by-providing-its-unique-message-identifier-to-the-deletemessage-method.cs | delete a single email from a folder by providing its unique message identifier to the deletemessage method |
| delete-all-messages-older-than-thirty-days-by-iterating-through-mailbox-items-and-invoking-deletemessage-on-eac.cs | delete all messages older than thirty days by iterating through mailbox items and invoking deletemessage on eac |
| delete-an-empty-mail-folder-from-the-exchange-server-using-webdav-delete-and-verify-removal.cs | delete an empty mail folder from the exchange server using webdav delete and verify removal |
| dispatch-an-email-requesting-a-read-receipt-to-notify-the-sender-when-the-recipient-opens-the-message.cs | dispatch an email requesting a read receipt to notify the sender when the recipient opens the message |
| dispose-the-exchangeclient-instance-after-operations-to-release-network-resources-and-prevent-memory-leaks-effe.cs | dispose the exchangeclient instance after operations to release network resources and prevent memory leaks effe |
| download-a-large-attachment-using-a-streaming-approach-to-avoid-loading-the-entire-file-into-memory-during-tran.cs | download a large attachment using a streaming approach to avoid loading the entire file into memory during tran |
| download-all-embedded-images-from-an-email-and-save-each-image-file-to-a-local-directory-for-reuse.cs | download all embedded images from an email and save each image file to a local directory for reuse |
| download-an-email-by-id-and-extract-only-its-plain-text-body-for-subsequent-text-analysis-operations.cs | download an email by id and extract only its plain text body for subsequent text analysis operations |
| download-an-email-message-with-attachments-saving-each-attachment-to-a-local-directory-preserving-filenames.cs | download an email message with attachments saving each attachment to a local directory preserving filenames |
| embed-an-image-in-the-email-html-body-using-a-content-id-reference-and-attach-it-as-a-part.cs | embed an image in the email html body using a content id reference and attach it as a part |
| embed-the-appointment-into-a-mailmessage-appointment-property-to-compose-a-meeting-request-email-message.cs | embed the appointment into a mailmessage appointment property to compose a meeting request email message |
| enable-case-sensitive-filtering-by-setting-the-mailquery-casesensitive-flag-before-executing-the-query.cs | enable case sensitive filtering by setting the mailquery casesensitive flag before executing the query |
| enable-detailed-logging-for-the-webdav-client-to-capture-request-and-response-information-for-troubleshooting.cs | enable detailed logging for the webdav client to capture request and response information for troubleshooting |
| enable-detailed-logging-of-raw-webdav-request-and-response-xml-to-assist-in-troubleshooting-communication-issue.cs | enable detailed logging of raw webdav request and response xml to assist in troubleshooting communication issue |
| enable-server-side-logging-for-webdav-operations-and-write-logs-to-a-configurable-file-path.cs | enable server side logging for webdav operations and write logs to a configurable file path |
| establish-a-webdav-connection-to-an-exchange-server-to-retrieve-and-manage-mailbox-items-programmatically.cs | establish a webdav connection to an exchange server to retrieve and manage mailbox items programmatically |
| establish-a-webdav-connection-to-the-exchange-server-using-explicit-username-and-password-credentials.cs | establish a webdav connection to the exchange server using explicit username and password credentials |
| export-a-summary-of-message-subjects-and-received-dates-to-a-csv-file-by-iterating-through-listmessages.cs | export a summary of message subjects and received dates to a csv file by iterating through listmessages |
| export-retrieved-calendar-items-to-an-icalendar-ics-file-for-sharing-with-external-calendar-applications.cs | export retrieved calendar items to an icalendar ics file for sharing with external calendar applications |
| fetch-a-complete-email-using-its-message-id-and-save-the-retrieved-content-as-an-eml-file-on-disk.cs | fetch a complete email using its message id and save the retrieved content as an eml file on disk |
| fetch-an-email-and-download-all-attached-files-storing-each-attachment-in-a-predefined-local-directory.cs | fetch an email and download all attached files storing each attachment in a predefined local directory |
| fetch-an-email-and-extract-embedded-contact-vcard-data-for-import-into-the-user-address-book.cs | fetch an email and extract embedded contact vcard data for import into the user address book |
| fetch-an-email-and-parse-its-mime-parts-to-separate-attachments-from-the-main-body-for-individual-processing.cs | fetch an email and parse its mime parts to separate attachments from the main body for individual processing |
| fetch-the-uri-of-a-custom-mailbox-folder-by-providing-its-full-path-relative-to-the-mailbox-root.cs | fetch the uri of a custom mailbox folder by providing its full path relative to the mailbox root |
| filter-messages-addressed-to-a-specific-domain-by-assigning-the-target-domain-to-mailquery-recipientdomain-fiel.cs | filter messages addressed to a specific domain by assigning the target domain to mailquery recipientdomain fiel |
| filter-messages-by-sender-domain-example-com-using-a-webdav-query-to-isolate-internal-corporate-communications.cs | filter messages by sender domain example com using a webdav query to isolate internal corporate communications |
| filter-messages-sent-on-today-date-by-assigning-the-current-date-to-mailquery-date-property.cs | filter messages sent on today date by assigning the current date to mailquery date property |
| filter-messages-where-the-body-contains-a-specific-phrase-by-setting-mailquery-bodycontains-criteria-parameter.cs | filter messages where the body contains a specific phrase by setting mailquery bodycontains criteria parameter |
| flag-an-email-for-follow-up-by-setting-the-flagstatus-property-to-the-desired-value-via-exchangeclient.cs | flag an email for follow up by setting the flagstatus property to the desired value via exchangeclient |
| generate-a-json-report-containing-each-email-subject-sender-address-and-size-by-processing-the-messages-list.cs | generate a json report containing each email subject sender address and size by processing the messages list |
| implement-a-date-range-filter-criterion-to-retrieve-records-occurring-between-specified-start-and-end-dates.cs | implement a date range filter criterion to retrieve records occurring between specified start and end dates |
| implement-a-filter-that-selects-all-mail-delivery-notification-messages-from-the-incoming-mailbox.cs | implement a filter that selects all mail delivery notification messages from the incoming mailbox |
| implement-a-server-certificate-validation-callback-that-automatically-trusts-self-signed-certificates-for-devel.cs | implement a server certificate validation callback that automatically trusts self signed certificates for devel |
| implement-case-sensitive-filtering-of-email-messages-based-on-specified-criteria-to-match-exact-character-cases.cs | implement case sensitive filtering of email messages based on specified criteria to match exact character cases |
| implement-domain-specific-filtering-logic-to-select-items-that-meet-the-defined-criteria-within-the-application-s-data-set.cs | implement domain specific filtering logic to select items that meet the defined criteria within the application s data set |
| implement-exponential-backoff-retry-logic-for-transient-network-errors-during-webdav-calls.cs | implement exponential backoff retry logic for transient network errors during webdav calls |
| implement-functionality-to-persist-email-messages-to-a-storage-medium-supporting-various-output-formats-such-as-eml-msg-and.cs | implement functionality to persist email messages to a storage medium supporting various output formats such as eml msg and |
| implement-functionality-to-serialize-email-messages-into-msg-files-preserving-all-headers-attachments-and-properties.cs | implement functionality to serialize email messages into msg files preserving all headers attachments and properties |
| implement-message-filtering-through-webdav-to-retrieve-only-emails-that-satisfy-defined-search-criteria-and-properties.cs | implement message filtering through webdav to retrieve only emails that satisfy defined search criteria and properties |
| import-contacts-from-a-csv-source-into-a-folder-mapping-columns-to-webdav-contact-properties.cs | import contacts from a csv source into a folder mapping columns to webdav contact properties |
| instantiate-an-exchangeclient-using-the-webdav-server-url-username-and-password-credentials.cs | instantiate an exchangeclient using the webdav server url username and password credentials |
| list-all-messages-in-the-inbox-folder-using-exchangeclient-listmessages-with-default-pagination-and-no-additional-fil.cs | list all messages in the inbox folder using exchangeclient listmessages with default pagination and no additional fil |
| list-all-subfolders-under-the-root-mailbox-using-webdav-propfind-and-display-hierarchical-structure.cs | list all subfolders under the root mailbox using webdav propfind and display hierarchical structure |
| list-messages-in-the-drafts-folder-specifying-a-custom-page-size-of-fifty-items-per-request.cs | list messages in the drafts folder specifying a custom page size of fifty items per request |
| list-messages-with-pagination-by-skipping-the-first-ten-items-and-then-retrieving-the-next-twenty-results.cs | list messages with pagination by skipping the first ten items and then retrieving the next twenty results |
| list-unread-messages-by-applying-the-isread-false-filter-enabling-prioritization-of-pending-email-items.cs | list unread messages by applying the isread false filter enabling prioritization of pending email items |
| load-an-icalendar-ics-file-modify-the-outlook-items-as-required-and-export-the-updated-data-to-msg-format.cs | load an icalendar ics file modify the outlook items as required and export the updated data to msg format |
| log-the-unique-identifier-returned-by-the-server-for-each-sent-meeting-request-for-traceability.cs | log the unique identifier returned by the server for each sent meeting request for traceability |
| manually-set-the-message-id-header-on-the-outgoing-email-to-enable-external-correlation-of-the-message.cs | manually set the message id header on the outgoing email to enable external correlation of the message |
| mark-an-email-as-read-by-updating-its-isread-property-through-the-appropriate-exchangeclient-method.cs | mark an email as read by updating its isread property through the appropriate exchangeclient method |
| mark-an-email-as-read-by-updating-its-read-flag-property-through-a-webdav-proppatch-call.cs | mark an email as read by updating its read flag property through a webdav proppatch call |
| move-a-contact-between-folders-using-webdav-move-operation-with-destination-url-and-verify-transfer.cs | move a contact between folders using webdav move operation with destination url and verify transfer |
| move-a-processed-email-to-another-folder-using-exchangeclient-movemessage-after-successful-handling-completion.cs | move a processed email to another folder using exchangeclient movemessage after successful handling completion |
| move-an-email-from-inbox-to-archive-using-its-message-id-and-destination-folder-uri.cs | move an email from inbox to archive using its message id and destination folder uri |
| move-email-messages-between-folders-or-mailboxes-programmatically-preserving-all-message-properties-and-metadata-integrity.cs | move email messages between folders or mailboxes programmatically preserving all message properties and metadata integrity |
| obtain-another-user-mailbox-details-by-calling-getmailboxinfo-with-the-target-email-address-as-a-parameter.cs | obtain another user mailbox details by calling getmailboxinfo with the target email address as a parameter |
| obtain-the-size-of-an-email-message-in-advance-without-downloading-its-full-content.cs | obtain the size of an email message in advance without downloading its full content |
| obtain-the-uri-of-the-sent-items-folder-so-subsequent-operations-can-target-that-specific-location.cs | obtain the uri of the sent items folder so subsequent operations can target that specific location |
| perform-a-lightweight-connection-test-using-exchangeclient-connect-to-validate-user-credentials-before-executin.cs | perform a lightweight connection test using exchangeclient connect to validate user credentials before executin |
| perform-crud-operations-on-an-exchange-mailbox-and-its-messages-utilizing-the-webdav-protocol-for-communication.cs | perform crud operations on an exchange mailbox and its messages utilizing the webdav protocol for communication |
| programmatically-retrieve-all-email-messages-from-a-specified-exchange-server-mailbox-handling-authentication-and-pagination.cs | programmatically retrieve all email messages from a specified exchange server mailbox handling authentication and pagination |
| provide-a-custom-remotecertificatevalidationcallback-to-exchangeclient-for-validating-the-server-certificate-du.cs | provide a custom remotecertificatevalidationcallback to exchangeclient for validating the server certificate du |
| register-for-release-notifications-to-receive-automatic-updates-about-new-library-features-and-enhancements.cs | register for release notifications to receive automatic updates about new library features and enhancements |
| remove-email-messages-from-a-mailbox-programmatically-ensuring-permanent-deletion-and-appropriate-synchronization-across.cs | remove email messages from a mailbox programmatically ensuring permanent deletion and appropriate synchronization across |
| remove-email-messages-from-an-exchange-server-using-appropriate-api-calls-while-managing-authentication-and-error-handling.cs | remove email messages from an exchange server using appropriate api calls while managing authentication and error handling |
| remove-multiple-emails-in-one-operation-by-supplying-a-collection-of-message-ids-to-the-deletemessage-batch-ove.cs | remove multiple emails in one operation by supplying a collection of message ids to the deletemessage batch ove |
| rename-an-existing-exchange-folder-by-sending-a-webdav-proppatch-request-with-the-new-display-name.cs | rename an existing exchange folder by sending a webdav proppatch request with the new display name |
| retrieve-a-collection-of-email-messages-from-the-store-by-supplying-their-unique-identifier-values.cs | retrieve a collection of email messages from the store by supplying their unique identifier values |
| retrieve-a-collection-of-plain-text-email-messages-and-present-them-as-a-simple-list.cs | retrieve a collection of plain text email messages and present them as a simple list |
| retrieve-an-email-and-count-its-attachments-without-downloading-the-attachment-data.cs | retrieve an email and count its attachments without downloading the attachment data |
| retrieve-an-email-and-extract-any-embedded-calendar-invite-components-to-allow-automatic-scheduling-in-client-a.cs | retrieve an email and extract any embedded calendar invite components to allow automatic scheduling in client a |
| retrieve-an-email-html-body-using-fetchmessage-and-write-the-markup-to-a-separate-html-file.cs | retrieve an email html body using fetchmessage and write the markup to a separate html file |
| retrieve-and-enumerate-email-messages-across-multiple-mailbox-folders-preserving-folder-hierarchy-and-message-metadata.cs | retrieve and enumerate email messages across multiple mailbox folders preserving folder hierarchy and message metadata |
| retrieve-and-enumerate-email-messages-from-a-store-returning-their-metadata-and-content-as-needed.cs | retrieve and enumerate email messages from a store returning their metadata and content as needed |
| retrieve-and-filter-exchange-mailbox-messages-via-webdav-based-on-specified-criteria-such-as-date-sender-or-subject.cs | retrieve and filter exchange mailbox messages via webdav based on specified criteria such as date sender or subject |
| retrieve-comprehensive-mailbox-metadata-through-webdav-calls-to-query-folder-properties-and-message-counts.cs | retrieve comprehensive mailbox metadata through webdav calls to query folder properties and message counts |
| retrieve-default-mailbox-information-including-inboxuri-draftsuri-sentitemsuri-and-other-folder-uris-for-the-cu.cs | retrieve default mailbox information including inboxuri draftsuri sentitemsuri and other folder uris for the cu |
| retrieve-folder-statistics-such-as-item-count-and-size-via-webdav-propfind-on-the-folder-resource.cs | retrieve folder statistics such as item count and size via webdav propfind on the folder resource |
| retrieve-full-property-set-of-a-contact-including-photo-and-save-the-image-to-disk.cs | retrieve full property set of a contact including photo and save the image to disk |
| retrieve-messages-from-a-particular-sender-by-setting-the-mailquery-sender-property-to-the-email-address.cs | retrieve messages from a particular sender by setting the mailquery sender property to the email address |
| retrieve-messages-sorted-by-received-date-in-descending-order-to-display-the-newest-emails-first-in-the-list.cs | retrieve messages sorted by received date in descending order to display the newest emails first in the list |
| retrieve-only-header-information-for-messages-without-downloading-full-bodies-by-specifying-appropriate-propert.cs | retrieve only header information for messages without downloading full bodies by specifying appropriate propert |
| retrieve-only-high-importance-messages-by-adding-mailquery-importance-filter-before-listing-messages-operations.cs | retrieve only high importance messages by adding mailquery importance filter before listing messages operations |
| retrieve-only-messages-that-contain-one-or-more-attachments-by-specifying-the-hasattachment-filter-in-the-query.cs | retrieve only messages that contain one or more attachments by specifying the hasattachment filter in the query |
| retrieve-the-full-folder-hierarchy-of-the-mailbox-to-build-a-navigation-tree-for-client-applications.cs | retrieve the full folder hierarchy of the mailbox to build a navigation tree for client applications |
| save-email-messages-to-the-eml-format-while-preserving-all-header-and-body-information.cs | save email messages to the eml format while preserving all header and body information |
| save-the-plain-text-body-of-a-retrieved-email-to-a-txt-file-to-facilitate-text-based-indexing-processes.cs | save the plain text body of a retrieved email to a txt file to facilitate text based indexing processes |
| schedule-a-meeting-in-a-different-time-zone-by-assigning-datetimeoffset-value-to-appointment-starttime-property.cs | schedule a meeting in a different time zone by assigning datetimeoffset value to appointment starttime property |
| schedule-delayed-delivery-of-an-email-by-setting-the-deferreddeliverytime-property-to-tomorrow-morning-at-9-am.cs | schedule delayed delivery of an email by setting the deferreddeliverytime property to tomorrow morning at 9 am |
| search-contacts-containing-a-specific-domain-using-webdav-query-filters-and-return-matching-entries.cs | search contacts containing a specific domain using webdav query filters and return matching entries |
| search-for-a-unique-message-using-its-messageid-by-populating-mailquery-messageid-with-the-identifier.cs | search for a unique message using its messageid by populating mailquery messageid with the identifier |
| search-mail-items-in-a-folder-containing-a-keyword-in-the-subject-using-webdav-search-request.cs | search mail items in a folder containing a keyword in the subject using webdav search request |
| send-a-simple-mailmessage-through-exchangeclient-to-a-single-recipient-with-subject-and-plain-text-body.cs | send a simple mailmessage through exchangeclient to a single recipient with subject and plain text body |
| send-an-email-and-capture-the-server-generated-item-identifier-returned-by-exchangeclient-for-later-reference-o.cs | send an email and capture the server generated item identifier returned by exchangeclient for later reference o |
| send-an-email-to-multiple-primary-recipients-including-additional-cc-and-bcc-addresses-for-broader-distribution.cs | send an email to multiple primary recipients including additional cc and bcc addresses for broader distribution |
| send-email-messages-through-an-exchange-server-using-the-appropriate-client-apis-and-authentication-mechanisms.cs | send email messages through an exchange server using the appropriate client apis and authentication mechanisms |
| send-fifty-personalized-emails-in-a-batch-by-looping-through-recipient-data-and-invoking-exchangeclient-send-fo.cs | send fifty personalized emails in a batch by looping through recipient data and invoking exchangeclient send fo |
| send-the-meeting-request-using-exchangeclient-send-and-verify-the-server-response-status-for-success-indication.cs | send the meeting request using exchangeclient send and verify the server response status for success indication |
| serialize-email-messages-into-a-memory-stream-for-efficient-in-memory-processing-manipulation-and-transmission.cs | serialize email messages into a memory stream for efficient in memory processing manipulation and transmission |
| set-a-custom-html-body-for-the-meeting-request-by-assigning-content-to-mailmessage-htmlbody-field.cs | set a custom html body for the meeting request by assigning content to mailmessage htmlbody field |
| set-a-custom-request-timeout-of-ninety-seconds-on-exchangeclient-to-accommodate-slower-network-conditions-durin.cs | set a custom request timeout of ninety seconds on exchangeclient to accommodate slower network conditions durin |
| set-delivery-notification-options-on-the-email-to-receive-alerts-when-the-message-fails-to-deliver.cs | set delivery notification options on the email to receive alerts when the message fails to deliver |
| set-exchangeclient-timeout-to-a-higher-value-to-accommodate-long-running-mailbox-queries-without-premature-term.cs | set exchangeclient timeout to a higher value to accommodate long running mailbox queries without premature term |
| set-mailmessage-priority-to-high-for-urgent-meeting-invitations-requiring-immediate-attention-recipients.cs | set mailmessage priority to high for urgent meeting invitations requiring immediate attention recipients |
| set-reminder-minutes-on-the-appointment-to-trigger-an-alert-ten-minutes-before-the-start-time.cs | set reminder minutes on the appointment to trigger an alert ten minutes before the start time |
| set-the-appointment-isallday-flag-to-true-for-creating-all-day-events-on-the-exchange-calendar-system.cs | set the appointment isallday flag to true for creating all day events on the exchange calendar system |
| specify-a-distinct-reply-to-address-in-the-mailmessage-header-that-differs-from-the-sender-primary-email-addres.cs | specify a distinct reply to address in the mailmessage header that differs from the sender primary email addres |
| specify-mailquery-startdate-and-mailquery-enddate-to-obtain-messages-within-a-custom-date-interval-specified.cs | specify mailquery startdate and mailquery enddate to obtain messages within a custom date interval specified |
| transfer-email-messages-programmatically-from-one-mailbox-folder-to-another-while-preserving-their-metadata.cs | transfer email messages programmatically from one mailbox folder to another while preserving their metadata |
| transfer-several-messages-to-a-folder-named-projectx-by-iterating-over-their-ids-and-invoking-movemessage.cs | transfer several messages to a folder named projectx by iterating over their ids and invoking movemessage |
| transform-an-ics-calendar-file-into-a-msg-outlook-storage-item-loading-the-source-and-saving-the-result.cs | transform an ics calendar file into a msg outlook storage item loading the source and saving the result |
| transmit-an-email-with-the-high-priority-flag-set-to-indicate-urgent-attention-by-recipients.cs | transmit an email with the high priority flag set to indicate urgent attention by recipients |
| update-the-location-of-an-existing-calendar-event-by-modifying-its-property-through-webdav-proppatch.cs | update the location of an existing calendar event by modifying its property through webdav proppatch |
| upload-a-new-email-with-embedded-images-to-a-specific-folder-using-webdav-put-and-set-mime-type.cs | upload a new email with embedded images to a specific folder using webdav put and set mime type |
| validate-required-webdav-headers-before-each-request-to-prevent-authentication-and-syntax-errors.cs | validate required webdav headers before each request to prevent authentication and syntax errors |
| validate-that-the-exchange-server-supports-webdav-by-inspecting-response-headers-before-initializing-the-client.cs | validate that the exchange server supports webdav by inspecting response headers before initializing the client |
| write-the-html-body-of-a-fetched-email-to-a-html-file-preserving-original-markup-and-styling.cs | write the html body of a fetched email to a html file preserving original markup and styling |
Category Statistics
- Total examples: 156
General Tips
- Follow root boundaries and testing guide.
- Dispose client objects; avoid hardcoded secrets; prefer explicit types.
<!-- AUTOGENERATED:START -->| Date | Run ID | Branch/Commit |
| 2026-09-14 | auto | examples/batch-auto |
<!-- AUTOGENERATED:END -->Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

