agentleFS
aspose-emailaspose-email/agentic-net-examples/convert-thunderbird-mbox-files/AGENTS.md

agentic-net-examples / convert-thunderbird-mbox-files

AGENTS.md2 starsChanged 7 months agoMITView on GitHub

C# examples for convert-thunderbird-mbox-files 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 246

≈ “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 - convert-thunderbird-mbox-files

Persona

You are a C# developer working in the convert-thunderbird-mbox-files category. This folder contains standalone C# examples for this category. See the root AGENTS.md for repository-wide conventions.

Scope

  • Examples for convert-thunderbird-mbox-files.
  • Files are standalone .cs examples stored directly in this folder.

Required Namespaces

  • using System; (189 file(s))
  • using Aspose.Email; (182 file(s))
  • using System.IO; (181 file(s))
  • using Aspose.Email.Storage.Pst; (117 file(s))
  • using Aspose.Email.Storage; (77 file(s))
  • using Aspose.Email.Storage.Mbox; (66 file(s))
  • using Aspose.Email.Mapi; (46 file(s))
  • using System.Threading; (20 file(s))
  • using System.Collections.Generic; (20 file(s))
  • using System.Text; (19 file(s))
  • using System.Threading.Tasks; (13 file(s))
  • using System.Diagnostics; (12 file(s))
  • using System.Text.Json; (6 file(s))
  • using Aspose.Email.Tools.Search; (5 file(s))
  • using System.Linq; (3 file(s))
  • using Aspose.Email.Clients.Imap; (3 file(s))
  • using Aspose.Email.Clients.Exchange.Dav; (3 file(s))
  • using System.Security.Cryptography; (2 file(s))
  • using Aspose.Email.Clients.Pop3; (2 file(s))
  • using System.IO.Compression; (2 file(s))
  • using Aspose.Email.Clients; (2 file(s))
  • using Aspose.Email.Clients.Exchange; (1 file(s))
  • using System.Runtime.InteropServices; (1 file(s))
  • using System.Text.RegularExpressions; (1 file(s))
  • using Aspose.Email.Mime; (1 file(s))
  • using System.Reflection; (1 file(s))
  • using Aspose.Email.Calendar; (1 file(s))

Files in this folder

FileDescription
add-a-feature-to-embed-a-custom-comment-in-the-pst-file-properties-for-identification.csadd a feature to embed a custom comment in the pst file properties for identification
add-a-feature-to-encrypt-the-resulting-pst-file-using-a-user-provided-password.csadd a feature to encrypt the resulting pst file using a user provided password
add-a-feature-to-generate-a-checksum-for-the-resulting-pst-file-for-integrity-verification.csadd a feature to generate a checksum for the resulting pst file for integrity verification
add-a-unit-test-confirming-the-custom-prefix-appears-at-the-beginning-of-each-file-name.csadd a unit test confirming the custom prefix appears at the beginning of each file name
add-converted-mailmessage-objects-to-the-root-folder-of-the-newly-created-pst-storage.csadd converted mailmessage objects to the root folder of the newly created pst storage
add-logging-of-elapsed-time-for-each-split-chunk-to-analyze-performance-bottlenecks.csadd logging of elapsed time for each split chunk to analyze performance bottlenecks
add-logging-of-mboxreader-disposal-to-confirm-resources-are-released-after-processing.csadd logging of mboxreader disposal to confirm resources are released after processing
add-support-for-converting-messages-with-embedded-calendar-invites-while-retaining-event-details.csadd support for converting messages with embedded calendar invites while retaining event details
add-support-for-converting-only-messages-that-contain-attachments-skipping-plain-text-only-emails.csadd support for converting only messages that contain attachments skipping plain text only emails
add-support-for-logging-split-progress-to-a-csv-file-for-external-monitoring-tools.csadd support for logging split progress to a csv file for external monitoring tools
add-support-for-preserving-calendar-items-embedded-in-email-messages-during-pst-conversion.csadd support for preserving calendar items embedded in email messages during pst conversion
add-support-for-preserving-custom-x-mail-headers-by-copying-them-into-pst-message-properties.csadd support for preserving custom x mail headers by copying them into pst message properties
add-support-for-preserving-email-priority-flags-as-pst-message-importance-levels.csadd support for preserving email priority flags as pst message importance levels
add-support-for-preserving-mime-boundary-information-as-custom-metadata-in-pst-messages.csadd support for preserving mime boundary information as custom metadata in pst messages
add-support-for-preserving-read-receipt-requests-as-custom-properties-in-the-pst-messages.csadd support for preserving read receipt requests as custom properties in the pst messages
add-unit-tests-for-conversion-options-that-enable-or-disable-attachment-compression.csadd unit tests for conversion options that enable or disable attachment compression
add-unit-tests-for-conversion-options-that-toggle-signature-removal-on-and-off.csadd unit tests for conversion options that toggle signature removal on and off
add-unit-tests-that-ensure-conversion-respects-the-specified-batch-size-configuration.csadd unit tests that ensure conversion respects the specified batch size configuration
add-unit-tests-that-verify-correct-handling-of-messages-with-missing-subject-headers.csadd unit tests that verify correct handling of messages with missing subject headers
allow-users-to-specify-a-custom-pst-file-password-during-creation-for-added-security.csallow users to specify a custom pst file password during creation for added security
apply-a-custom-filter-to-exclude-messages-older-than-a-specific-date-before-pst-conversion.csapply a custom filter to exclude messages older than a specific date before pst conversion
apply-a-mailquery-to-exclude-messages-containing-a-specific-keyword-in-the-body.csapply a mailquery to exclude messages containing a specific keyword in the body
apply-a-mailquery-to-filter-messages-by-subject-containing-specific-keyword.csapply a mailquery to filter messages by subject containing specific keyword
apply-a-mailquery-to-filter-messages-sent-after-a-given-date.csapply a mailquery to filter messages sent after a given date
benchmark-conversion-speed-when-using-ssd-storage-versus-traditional-hdd-for-pst-output.csbenchmark conversion speed when using ssd storage versus traditional hdd for pst output
benchmark-memory-usage-when-converting-large-mbox-archives-with-and-without-batch-processing.csbenchmark memory usage when converting large mbox archives with and without batch processing
benchmark-synchronous-versus-asynchronous-splitting-on-identical-mbox-files-to-compare-execution-times.csbenchmark synchronous versus asynchronous splitting on identical mbox files to compare execution times
call-the-asynchronous-splitinto-overload-within-an-async-method-and-await-its-completion.cscall the asynchronous splitinto overload within an async method and await its completion
choose-the-appropriate-splitinto-overload-based-on-net-version-and-cancellation-token-requirements.cschoose the appropriate splitinto overload based on net version and cancellation token requirements
close-the-mboxrdstoragereader-to-release-file-handles-after-processing-completes.csclose the mboxrdstoragereader to release file handles after processing completes
close-the-mboxreader-instance-once-all-messages-have-been-transferred-to-the-pst-archive.csclose the mboxreader instance once all messages have been transferred to the pst archive
combine-pagination-and-mailquery-to-retrieve-filtered-messages-page-by-page.cscombine pagination and mailquery to retrieve filtered messages page by page
compress-the-resulting-pst-file-using-built-in-pst-compression-options-to-reduce-disk-usage.cscompress the resulting pst file using built in pst compression options to reduce disk usage
compute-total-number-of-unique-senders-by-iterating-over-message-metadata.cscompute total number of unique senders by iterating over message metadata
configure-mboxloadoptions-to-ignore-malformed-mime-parts-while-loading-the-archive-entirely.csconfigure mboxloadoptions to ignore malformed mime parts while loading the archive entirely
configure-mboxloadoptions-to-set-a-custom-line-delimiter-for-non-standard-mbox-files.csconfigure mboxloadoptions to set a custom line delimiter for non standard mbox files
configure-mboxloadoptions-to-specify-utf-8-encoding-before-reading-a-multilingual-mbox-archive.csconfigure mboxloadoptions to specify utf 8 encoding before reading a multilingual mbox archive
configure-mboxstoragereaderoptions-to-set-utf-8-encoding-before-creating-the-reader.csconfigure mboxstoragereaderoptions to set utf 8 encoding before creating the reader
configure-mboxtopstconversionoptions-to-limit-the-maximum-number-of-messages-per-pst-folder.csconfigure mboxtopstconversionoptions to limit the maximum number of messages per pst folder
configure-mboxtopstconversionoptions-to-map-custom-email-categories-to-pst-folder-hierarchy-appropriately.csconfigure mboxtopstconversionoptions to map custom email categories to pst folder hierarchy appropriately
configure-mboxtopstconversionoptions-to-preserve-original-message-flags-such-as-read-unread-status-accurately.csconfigure mboxtopstconversionoptions to preserve original message flags such as read unread status accurately
configure-the-chunk-size-parameter-to-define-the-maximum-size-of-each-split-part.csconfigure the chunk size parameter to define the maximum size of each split part
configure-the-reader-to-ignore-corrupted-messages-and-continue-processing-remaining-emails-in-the-archive.csconfigure the reader to ignore corrupted messages and continue processing remaining emails in the archive
create-a-batch-processing-script-that-converts-multiple-mbox-files-in-a-directory-to-separate-psts.cscreate a batch processing script that converts multiple mbox files in a directory to separate psts
create-a-command-line-tool-that-takes-input-mbox-path-and-output-pst-path-as-arguments.cscreate a command line tool that takes input mbox path and output pst path as arguments
create-a-configuration-file-that-defines-mapping-rules-from-mbox-folder-names-to-pst-folder-paths.cscreate a configuration file that defines mapping rules from mbox folder names to pst folder paths
create-a-console-option-to-display-a-summary-of-conversion-results-without-generating-a-pst-file.cscreate a console option to display a summary of conversion results without generating a pst file
create-a-diagnostic-mode-that-outputs-detailed-mboxreader-parsing-steps-to-the-console.cscreate a diagnostic mode that outputs detailed mboxreader parsing steps to the console
create-a-diagnostic-mode-that-outputs-memory-allocation-details-for-each-conversion-step.cscreate a diagnostic mode that outputs memory allocation details for each conversion step
create-a-diagnostic-mode-that-records-each-mboxreader-exception-message-to-a-separate-error-log.cscreate a diagnostic mode that records each mboxreader exception message to a separate error log
create-a-diagnostic-report-summarizing-memory-usage-conversion-time-and-any-warnings-after-each-run.cscreate a diagnostic report summarizing memory usage conversion time and any warnings after each run
create-a-diagnostic-report-that-includes-memory-peak-usage-conversion-duration-and-any-warnings.cscreate a diagnostic report that includes memory peak usage conversion duration and any warnings
create-a-helper-utility-that-validates-mbox-file-structure-before-initiating-conversion.cscreate a helper utility that validates mbox file structure before initiating conversion
create-a-manifest-file-listing-all-generated-part-files-and-their-checksums-for-verification.cscreate a manifest file listing all generated part files and their checksums for verification
create-a-new-outlook-pst-file-using-personalstorage-create-with-fileformat-pst-and-a-target-path.cscreate a new outlook pst file using personalstorage create with fileformat pst and a target path
create-a-powershell-script-that-calls-the-net-library-to-split-mbox-files-in-batch-mode.cscreate a powershell script that calls the net library to split mbox files in batch mode
create-a-powershell-script-that-invokes-the-net-conversion-library-with-specified-parameters.cscreate a powershell script that invokes the net conversion library with specified parameters
create-a-progress-report-listing-each-part-file-name-size-and-creation-timestamp-after-splitting.cscreate a progress report listing each part file name size and creation timestamp after splitting
create-a-reusable-method-that-accepts-a-mailquery-and-returns-matching-mboxmessageinfo-list.cscreate a reusable method that accepts a mailquery and returns matching mboxmessageinfo list
create-a-sample-console-application-demonstrating-end-to-end-mbox-to-pst-conversion-with-configurable-options.cscreate a sample console application demonstrating end to end mbox to pst conversion with configurable options
create-a-sample-script-that-automates-batch-conversion-of-all-mbox-files-in-a-given-directory.cscreate a sample script that automates batch conversion of all mbox files in a given directory
create-a-scheduled-azure-function-that-processes-incoming-mbox-blobs-and-stores-pst-results-in-blob-storage.cscreate a scheduled azure function that processes incoming mbox blobs and stores pst results in blob storage
create-a-unit-test-that-verifies-conversion-of-messages-with-multiple-attachments-preserves-order.cscreate a unit test that verifies conversion of messages with multiple attachments preserves order
create-a-unit-test-verifying-getmessagecount-returns-the-expected-number-of-messages.cscreate a unit test verifying getmessagecount returns the expected number of messages
create-a-wrapper-class-that-abstracts-mbox-loading-and-pst-saving-for-reuse-in-other-projects.cscreate a wrapper class that abstracts mbox loading and pst saving for reuse in other projects
create-subfolders-in-pst-based-on-original-mbox-folder-hierarchy-to-maintain-organization.cscreate subfolders in pst based on original mbox folder hierarchy to maintain organization
create-unit-tests-that-simulate-conversion-of-messages-with-large-base64-encoded-attachments.cscreate unit tests that simulate conversion of messages with large base64 encoded attachments
create-unit-tests-that-verify-the-correct-number-of-output-files-for-a-given-chunk-size.cscreate unit tests that verify the correct number of output files for a given chunk size
detect-and-skip-duplicate-email-messages-based-on-message-id-header-during-conversion.csdetect and skip duplicate email messages based on message id header during conversion
detect-the-net-runtime-version-at-runtime-and-select-the-appropriate-splitinto-overload.csdetect the net runtime version at runtime and select the appropriate splitinto overload
develop-a-console-application-accepting-mbox-path-chunk-size-and-prefix-arguments-for-flexible-splitting.csdevelop a console application accepting mbox path chunk size and prefix arguments for flexible splitting
develop-a-console-application-that-prompts-for-mbox-path-and-displays-total-message-count.csdevelop a console application that prompts for mbox path and displays total message count
develop-a-gui-wizard-that-guides-users-through-selecting-mbox-source-pst-destination-and-options.csdevelop a gui wizard that guides users through selecting mbox source pst destination and options
disable-automatic-charset-detection-and-enforce-iso-8859-1-encoding-via-mboxstoragereaderoptions.csdisable automatic charset detection and enforce iso 8859 1 encoding via mboxstoragereaderoptions
document-how-to-set-mboxloadoptions-isunicode-to-true-for-unicode-only-mbox-files-properly.csdocument how to set mboxloadoptions isunicode to true for unicode only mbox files properly
enable-multi-threaded-processing-of-mbox-chunks-to-accelerate-conversion-on-multi-core-systems.csenable multi threaded processing of mbox chunks to accelerate conversion on multi core systems
enumerate-a-batch-of-messages-with-enumeratemessages-for-pagination-starting-at-a-given-index.csenumerate a batch of messages with enumeratemessages for pagination starting at a given index
enumerate-only-message-metadata-using-enumeratemessageinfo-for-fast-scanning-without-loading-full-mailmessage-object.csenumerate only message metadata using enumeratemessageinfo for fast scanning without loading full mailmessage object
export-conversion-logs-to-a-json-file-for-downstream-analysis-and-troubleshooting.csexport conversion logs to a json file for downstream analysis and troubleshooting
expose-a-rest-api-endpoint-that-accepts-an-uploaded-mbox-file-and-returns-the-generated-pst-stream.csexpose a rest api endpoint that accepts an uploaded mbox file and returns the generated pst stream
expose-an-api-endpoint-that-triggers-asynchronous-mbox-splitting-with-optional-cancellation-token.csexpose an api endpoint that triggers asynchronous mbox splitting with optional cancellation token
expose-configuration-via-appsettings-json-to-allow-runtime-adjustment-of-batch-size-and-signature-removal.csexpose configuration via appsettings json to allow runtime adjustment of batch size and signature removal
extract-a-single-message-by-its-entryid-using-extractmessage-method.csextract a single message by its entryid using extractmessage method
extract-and-preserve-email-headers-such-as-from-to-and-date-when-transferring-to-pst.csextract and preserve email headers such as from to and date when transferring to pst
extract-messages-with-specific-priority-level-and-store-their-bodies-in-separate-text-files.csextract messages with specific priority level and store their bodies in separate text files
extract-raw-mime-content-of-a-message-by-entryid-for-forensic-analysis.csextract raw mime content of a message by entryid for forensic analysis
filter-messages-with-attachments-larger-than-5-mb-and-save-those-attachments-to-a-designated-folder.csfilter messages with attachments larger than 5 mb and save those attachments to a designated folder
generate-a-csv-report-with-entryid-subject-and-date-using-enumeratemessageinfo-data.csgenerate a csv report with entryid subject and date using enumeratemessageinfo data
generate-a-summary-report-listing-total-messages-converted-skipped-and-any-errors-encountered.csgenerate a summary report listing total messages converted skipped and any errors encountered
handle-operationcanceledexception-to-gracefully-stop-the-process-and-clean-up-partial-files.cshandle operationcanceledexception to gracefully stop the process and clean up partial files
implement-a-check-that-aborts-conversion-if-the-source-mbox-file-size-exceeds-a-defined-limit.csimplement a check that aborts conversion if the source mbox file size exceeds a defined limit
implement-a-cleanup-routine-that-deletes-temporary-pst-files-if-conversion-fails-unexpectedly.csimplement a cleanup routine that deletes temporary pst files if conversion fails unexpectedly
implement-a-cleanup-routine-that-removes-temporary-files-older-than-a-configurable-retention-period.csimplement a cleanup routine that removes temporary files older than a configurable retention period
implement-a-fallback-mechanism-that-writes-failed-messages-to-a-separate-error-mbox-for-later-review.csimplement a fallback mechanism that writes failed messages to a separate error mbox for later review
implement-a-feature-that-adds-a-custom-pst-property-indicating-the-original-mbox-file-name.csimplement a feature that adds a custom pst property indicating the original mbox file name
implement-a-feature-that-automatically-retries-failed-message-conversions-up-to-two-attempts.csimplement a feature that automatically retries failed message conversions up to two attempts
implement-a-feature-that-logs-the-total-number-of-messages-processed-per-pst-folder-after-conversion.csimplement a feature that logs the total number of messages processed per pst folder after conversion
implement-a-feature-that-records-conversion-start-and-end-timestamps-in-the-pst-custom-properties.csimplement a feature that records conversion start and end timestamps in the pst custom properties
implement-a-feature-that-skips-empty-messages-during-splitting-to-reduce-unnecessary-part-files.csimplement a feature that skips empty messages during splitting to reduce unnecessary part files
implement-a-feature-that-strips-html-tags-from-email-bodies-before-storing-them-in-pst.csimplement a feature that strips html tags from email bodies before storing them in pst
implement-a-feature-that-tags-each-pst-message-with-the-original-mbox-file-creation-date.csimplement a feature that tags each pst message with the original mbox file creation date
implement-a-feature-that-truncates-email-bodies-exceeding-a-specified-length-during-pst-conversion.csimplement a feature that truncates email bodies exceeding a specified length during pst conversion
implement-a-feature-that-writes-a-completion-flag-file-after-successful-pst-generation-for-downstream-processes.csimplement a feature that writes a completion flag file after successful pst generation for downstream processes
implement-a-feature-to-compress-each-split-part-into-a-zip-archive-for-storage-efficiency.csimplement a feature to compress each split part into a zip archive for storage efficiency
implement-a-feature-to-pause-and-resume-conversion-processing-based-on-external-signals.csimplement a feature to pause and resume conversion processing based on external signals
implement-a-feature-to-preserve-original-message-ids-as-custom-properties-in-pst-entries.csimplement a feature to preserve original message ids as custom properties in pst entries
implement-a-feature-to-rename-pst-folders-based-on-a-user-defined-naming-convention-during-conversion.csimplement a feature to rename pst folders based on a user defined naming convention during conversion
implement-a-method-to-export-conversion-statistics-time-count-size-to-a-csv-file.csimplement a method to export conversion statistics time count size to a csv file
implement-a-method-to-resume-splitting-from-a-specific-part-index-after-an-unexpected-interruption.csimplement a method to resume splitting from a specific part index after an unexpected interruption
implement-a-method-to-retrieve-and-log-the-total-number-of-attachments-processed-per-pst-folder.csimplement a method to retrieve and log the total number of attachments processed per pst folder
implement-a-progress-bar-in-a-wpf-application-that-reflects-real-time-conversion-status.csimplement a progress bar in a wpf application that reflects real time conversion status
implement-a-progress-event-that-can-be-subscribed-to-by-external-monitoring-tools.csimplement a progress event that can be subscribed to by external monitoring tools
implement-a-progress-indicator-that-writes-percentage-completed-to-a-log-file-every-5-increment.csimplement a progress indicator that writes percentage completed to a log file every 5 increment
implement-a-retry-loop-that-reopens-the-mbox-file-if-initial-read-fails-due-to-file-lock.csimplement a retry loop that reopens the mbox file if initial read fails due to file lock
implement-a-retry-mechanism-for-splitinto-when-transient-i-o-errors-occur-during-processing.csimplement a retry mechanism for splitinto when transient i o errors occur during processing
implement-a-retry-mechanism-for-transient-i-o-errors-during-pst-file-creation.csimplement a retry mechanism for transient i o errors during pst file creation
implement-a-retry-policy-that-attempts-to-read-a-locked-mbox-file-up-to-three-times.csimplement a retry policy that attempts to read a locked mbox file up to three times
implement-a-watchdog-timer-that-aborts-conversion-if-processing-exceeds-a-predefined-time-limit.csimplement a watchdog timer that aborts conversion if processing exceeds a predefined time limit
implement-an-async-foreach-loop-over-enumeratemessagesasync-for-processing-large-archives-efficiently-without-blocki.csimplement an async foreach loop over enumeratemessagesasync for processing large archives efficiently without blocki
implement-cancellation-token-support-for-asynchronous-mbox-reading-to-allow-user-initiated-aborts.csimplement cancellation token support for asynchronous mbox reading to allow user initiated aborts
implement-error-handling-for-file-access-exceptions-when-the-source-mbox-file-is-locked.csimplement error handling for file access exceptions when the source mbox file is locked
implement-error-handling-for-invalid-entryid-during-message-extraction-to-prevent-crashes-and-log-the-issue.csimplement error handling for invalid entryid during message extraction to prevent crashes and log the issue
implement-error-handling-to-catch-mboxreader-exceptions-when-encountering-corrupted-mbox-entries.csimplement error handling to catch mboxreader exceptions when encountering corrupted mbox entries
implement-progress-callbacks-that-report-percentage-completion-to-a-ui-progress-bar.csimplement progress callbacks that report percentage completion to a ui progress bar
implement-retry-logic-for-transient-i-o-errors-when-opening-the-mbox-file-stream.csimplement retry logic for transient i o errors when opening the mbox file stream
implement-unit-tests-that-verify-conversion-of-messages-with-embedded-images-preserves-image-data.csimplement unit tests that verify conversion of messages with embedded images preserves image data
initialize-mboxtopstconversionoptions-and-set-removesignature-to-true-for-signature-free-conversion-of-all-messages.csinitialize mboxtopstconversionoptions and set removesignature to true for signature free conversion of all messages
instantiate-mboxrdstoragereader-synchronously-to-read-mbox-messages-efficiently-from-the-stream.csinstantiate mboxrdstoragereader synchronously to read mbox messages efficiently from the stream
integrate-the-conversion-routine-into-a-windows-service-that-monitors-a-folder-for-new-mbox-files.csintegrate the conversion routine into a windows service that monitors a folder for new mbox files
integrate-the-splitting-functionality-into-a-windows-service-that-processes-incoming-mbox-files-nightly.csintegrate the splitting functionality into a windows service that processes incoming mbox files nightly
invoke-the-synchronous-splitinto-method-to-split-the-mbox-file-into-defined-chunks.csinvoke the synchronous splitinto method to split the mbox file into defined chunks
iterate-over-mboxmessageinfo-objects-to-log-sender-and-timestamp-without-loading-full-content.csiterate over mboxmessageinfo objects to log sender and timestamp without loading full content
iterate-through-each-mboxreader-message-and-convert-it-to-pst-using-the-configured-conversion-options.csiterate through each mboxreader message and convert it to pst using the configured conversion options
load-a-large-thunderbird-mbox-file-using-mboxstoragereader-before-initiating-the-split-operation.csload a large thunderbird mbox file using mboxstoragereader before initiating the split operation
load-an-mbox-file-using-a-filestream-within-a-using-statement.csload an mbox file using a filestream within a using statement
load-an-mbox-file-using-mboxreader-createreader-with-default-mboxloadoptions-and-enumerate-messages.csload an mbox file using mboxreader createreader with default mboxloadoptions and enumerate messages
log-conversion-progress-including-message-subject-and-index-to-a-text-file-for-audit-purposes.cslog conversion progress including message subject and index to a text file for audit purposes
log-each-part-file-creation-with-timestamps-to-facilitate-audit-trails-and-debugging.cslog each part file creation with timestamps to facilitate audit trails and debugging
log-the-size-of-each-pst-folder-after-adding-converted-messages-for-storage-analysis.cslog the size of each pst folder after adding converted messages for storage analysis
measure-conversion-time-for-a-500-mb-mbox-file-and-log-the-duration-in-seconds.csmeasure conversion time for a 500 mb mbox file and log the duration in seconds
measure-cpu-utilization-during-conversion-to-ensure-the-process-does-not-exceed-allocated-thresholds.csmeasure cpu utilization during conversion to ensure the process does not exceed allocated thresholds
measure-disk-i-o-throughput-during-conversion-to-identify-potential-bottlenecks-on-slow-storage.csmeasure disk i o throughput during conversion to identify potential bottlenecks on slow storage
measure-memory-usage-before-and-after-splitting-to-assess-performance-improvements.csmeasure memory usage before and after splitting to assess performance improvements
measure-network-latency-impact-when-reading-mbox-files-from-a-remote-share-during-conversion.csmeasure network latency impact when reading mbox files from a remote share during conversion
measure-performance-of-synchronous-versus-asynchronous-reading-for-the-same-mbox-file.csmeasure performance of synchronous versus asynchronous reading for the same mbox file
monitor-the-cancellationtoken-iscancellationrequested-flag-periodically-to-update-progress-or-stop-splitting.csmonitor the cancellationtoken iscancellationrequested flag periodically to update progress or stop splitting
obtain-size-of-a-specific-message-using-getmessagesize-in-bytes-for-performance-analysis.csobtain size of a specific message using getmessagesize in bytes for performance analysis
provide-a-cancellationtokensource-to-the-splitinto-method-to-enable-user-initiated-abort.csprovide a cancellationtokensource to the splitinto method to enable user initiated abort
provide-a-command-line-switch-to-enable-or-disable-compression-of-split-parts-during-processing.csprovide a command line switch to enable or disable compression of split parts during processing
provide-a-command-line-switch-to-enable-verbose-logging-of-each-conversion-step.csprovide a command line switch to enable verbose logging of each conversion step
provide-a-configuration-file-allowing-users-to-set-default-chunk-size-and-output-directory.csprovide a configuration file allowing users to set default chunk size and output directory
provide-a-configuration-flag-to-disable-automatic-creation-of-pst-subfolders-during-conversion.csprovide a configuration flag to disable automatic creation of pst subfolders during conversion
provide-a-powershell-cmdlet-that-wraps-the-conversion-library-and-returns-the-pst-file-path.csprovide a powershell cmdlet that wraps the conversion library and returns the pst file path
provide-a-sample-configuration-json-that-demonstrates-setting-batch-size-signature-removal-and-output-path.csprovide a sample configuration json that demonstrates setting batch size signature removal and output path
provide-an-option-to-compress-attachments-within-pst-to-reduce-overall-file-size.csprovide an option to compress attachments within pst to reduce overall file size
provide-an-option-to-embed-original-mbox-file-metadata-as-custom-properties-within-pst-messages.csprovide an option to embed original mbox file metadata as custom properties within pst messages
provide-an-option-to-exclude-messages-with-empty-bodies-from-pst-during-conversion.csprovide an option to exclude messages with empty bodies from pst during conversion
provide-an-option-to-skip-messages-that-exceed-a-maximum-size-threshold-during-conversion.csprovide an option to skip messages that exceed a maximum size threshold during conversion
provide-documentation-examples-showing-how-to-convert-encrypted-mbox-files-with-password-protection.csprovide documentation examples showing how to convert encrypted mbox files with password protection
read-mbox-messages-in-chunks-of-2000-items-to-avoid-excessive-memory-consumption.csread mbox messages in chunks of 2000 items to avoid excessive memory consumption
remove-digital-signatures-from-messages-by-setting-removesignature-flag-ensuring-clean-pst-content.csremove digital signatures from messages by setting removesignature flag ensuring clean pst content
retrieve-total-message-count-with-getmessagecount-method-for-the-loaded-mbox-file.csretrieve total message count with getmessagecount method for the loaded mbox file
save-changes-to-the-pst-file-after-processing-a-batch-of-one-thousand-messages-to-manage-memory.cssave changes to the pst file after processing a batch of one thousand messages to manage memory
schedule-a-background-task-that-monitors-a-directory-and-processes-new-mbox-files-nightly.csschedule a background task that monitors a directory and processes new mbox files nightly
schedule-automatic-mbox-splitting-using-windows-task-scheduler-to-run-during-off-peak-hours.csschedule automatic mbox splitting using windows task scheduler to run during off peak hours
serialize-extracted-mailmessage-to-json-for-api-integration-and-store-it-in-a-file.csserialize extracted mailmessage to json for api integration and store it in a file
specify-a-custom-part-file-name-prefix-to-organize-output-files-logically.csspecify a custom part file name prefix to organize output files logically
test-conversion-of-encrypted-mbox-files-by-providing-appropriate-decryption-passwords-in-load-options.cstest conversion of encrypted mbox files by providing appropriate decryption passwords in load options
test-conversion-of-messages-containing-nested-multipart-alternative-bodies-to-ensure-correct-part-selection.cstest conversion of messages containing nested multipart alternative bodies to ensure correct part selection
test-conversion-of-messages-with-extremely-long-subject-lines-to-ensure-pst-truncation-rules-are-applied.cstest conversion of messages with extremely long subject lines to ensure pst truncation rules are applied
use-a-buffered-stream-to-reduce-memory-consumption-while-reading-large-mbox-files.csuse a buffered stream to reduce memory consumption while reading large mbox files
use-a-try-finally-block-to-ensure-the-mboxstoragereader-is-disposed-after-splitting.csuse a try finally block to ensure the mboxstoragereader is disposed after splitting
use-asynchronous-programming-to-read-mbox-messages-while-writing-pst-entries-concurrently-for-performance.csuse asynchronous programming to read mbox messages while writing pst entries concurrently for performance
use-enumeratemessageinfo-to-build-an-index-of-message-dates-for-quick-chronological-navigation-across-the-entire-arc.csuse enumeratemessageinfo to build an index of message dates for quick chronological navigation across the entire arc
use-linq-to-filter-messages-containing-specific-keywords-before-adding-them-to-the-pst-file.csuse linq to filter messages containing specific keywords before adding them to the pst file
use-parallel-foreach-to-process-multiple-mbox-files-concurrently-each-invoking-its-own-splitinto-operation.csuse parallel foreach to process multiple mbox files concurrently each invoking its own splitinto operation
use-reflection-to-dynamically-discover-available-mboxloadoptions-properties-for-advanced-user-configuration.csuse reflection to dynamically discover available mboxloadoptions properties for advanced user configuration
validate-pst-file-integrity-by-opening-it-with-personalstorage-and-enumerating-its-folder-hierarchy.csvalidate pst file integrity by opening it with personalstorage and enumerating its folder hierarchy
validate-that-all-email-body-formats-plain-html-rich-text-are-preserved-correctly-in-pst.csvalidate that all email body formats plain html rich text are preserved correctly in pst
validate-that-converted-pst-messages-retain-original-timestamps-for-sent-and-received-dates.csvalidate that converted pst messages retain original timestamps for sent and received dates
validate-that-each-pst-message-retains-original-attachment-filenames-after-conversion-properly.csvalidate that each pst message retains original attachment filenames after conversion properly
validate-that-pst-file-can-be-opened-in-outlook-after-conversion-without-errors.csvalidate that pst file can be opened in outlook after conversion without errors
validate-that-the-destination-directory-exists-and-create-it-if-necessary-prior-to-splitting.csvalidate that the destination directory exists and create it if necessary prior to splitting
validate-that-the-pst-file-complies-with-outlook-2016-format-specifications-after-conversion.csvalidate that the pst file complies with outlook 2016 format specifications after conversion
validate-that-the-pst-file-size-does-not-exceed-a-user-specified-maximum-after-conversion.csvalidate that the pst file size does not exceed a user specified maximum after conversion
verify-that-each-generated-part-file-can-be-opened-by-mboxstoragereader-to-ensure-integrity.csverify that each generated part file can be opened by mboxstoragereader to ensure integrity
write-a-helper-method-that-maps-mbox-folder-names-to-pst-folder-objects-automatically.cswrite a helper method that maps mbox folder names to pst folder objects automatically
write-each-message-subject-line-to-a-log-file-during-asynchronous-reading-for-audit-purposes.cswrite each message subject line to a log file during asynchronous reading for audit purposes
write-integration-tests-that-verify-end-to-end-conversion-from-a-sample-mbox-to-a-valid-pst-file.cswrite integration tests that verify end to end conversion from a sample mbox to a valid pst file

Category Statistics

  • Total examples: 189

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.