agentleFS
aspose-emailaspose-email/agentic-net-examples/working-with-exchange-webdav-client/AGENTS.md

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

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
  1. Distinctive:

    Follow root boundaries and testing guide.

    line 211

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

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 .cs examples 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

FileDescription
access-and-retrieve-messages-from-a-different-user-s-mailbox-programmatically-handling-authentication-and-permissions.csaccess 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.csadd 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.csadd 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.csadd 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.csadd 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.csafter 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.csapply 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.csapply 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.csapply 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.csapply 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.csapply 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.csapply 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.csapply 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.csapply 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.csapply 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.csapply 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.csassign 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.csattach 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.csattach 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.csauthenticate 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.cscombine 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.cscombine 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.cscombine 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.cscombine 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.cscombine 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.cscompose 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.cscompute 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.csconfigure 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.csconstruct 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.csconstruct 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.cscreate 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.cscreate 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.cscreate 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.cscreate 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.cscreate 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.cscreate 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.cscreate 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.cscreate 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.csdelete 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.csdelete 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.csdelete 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.csdelete 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.csdispatch 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.csdispose 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.csdownload 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.csdownload 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.csdownload 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.csdownload 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.csembed 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.csembed 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.csenable 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.csenable 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.csenable 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.csenable 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.csestablish 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.csestablish 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.csexport 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.csexport 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.csfetch 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.csfetch 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.csfetch 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.csfetch 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.csfetch 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.csfilter 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.csfilter 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.csfilter 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.csfilter 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.csflag 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.csgenerate 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.csimplement 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.csimplement 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.csimplement 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.csimplement 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.csimplement 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.csimplement 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.csimplement 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.csimplement 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.csimplement 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.csimport 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.csinstantiate 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.cslist 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.cslist 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.cslist 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.cslist 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.cslist 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.csload 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.cslog 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.csmanually 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.csmark 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.csmark 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.csmove 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.csmove 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.csmove 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.csmove 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.csobtain 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.csobtain 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.csobtain 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.csperform 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.csperform 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.csprogrammatically 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.csprovide 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.csregister 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.csremove 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.csremove 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.csremove 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.csrename 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.csretrieve 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.cssave 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.cssave 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.csschedule 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.csschedule 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.cssearch 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.cssearch 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.cssearch 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.cssend 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.cssend 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.cssend 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.cssend 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.cssend 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.cssend 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.csserialize 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.csset 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.csset 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.csset 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.csset 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.csset 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.csset 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.csset 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.csspecify 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.csspecify 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.cstransfer 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.cstransfer 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.cstransform 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.cstransmit 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.csupdate 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.csupload 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.csvalidate 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.csvalidate 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.cswrite 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 -->
DateRun IDBranch/Commit
2026-09-14autoexamples/batch-auto
<!-- AUTOGENERATED:END -->

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.