agentic-net-examples / working-with-ibm-notes
AGENTS.md2 starsChanged 7 months agoMITView on GitHub
C# examples for working-with-ibm-notes 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-exchange-webdav-clientAGENTS.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 114
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-ibm-notes
Persona
You are a C# developer working in the working-with-ibm-notes category. This folder contains standalone C# examples for this category. See the root AGENTS.md for repository-wide conventions.
Scope
- Examples for working-with-ibm-notes.
- Files are standalone
.csexamples stored directly in this folder.
Required Namespaces
using System;(64 file(s))using Aspose.Email;(64 file(s))using System.IO;(63 file(s))using Aspose.Email.Mapi;(42 file(s))using Aspose.Email.Storage.Nsf;(20 file(s))using System.Collections.Generic;(7 file(s))using Aspose.Email.Storage.Pst;(5 file(s))using System.Threading.Tasks;(3 file(s))using System.Linq;(2 file(s))using Aspose.Email.Clients;(2 file(s))using Aspose.Email.Clients.Imap;(2 file(s))using Aspose.Email.Calendar;(2 file(s))using System.Threading;(2 file(s))using System.Reflection;(1 file(s))using System.Security.Cryptography;(1 file(s))using Aspose.Email.PersonalInfo;(1 file(s))using Aspose.Email.Tools.Search;(1 file(s))using CancellationTokenSource cts = new CancellationTokenSource();(1 file(s))using Aspose.Email.Calendar.Recurrences;(1 file(s))using System.Text.Json;(1 file(s))
Files in this folder
| File | Description |
| add-a-notesattachment-to-the-document-and-assign-the-msg-file-as-its-content.cs | add a notesattachment to the document and assign the msg file as its content |
| call-enumeratemessages-to-obtain-an-iterator-over-all-messages-in-the-nsf-file.cs | call enumeratemessages to obtain an iterator over all messages in the nsf file |
| check-the-notes-version-of-the-nsf-file-to-ensure-compatibility-with-version-7-or-higher.cs | check the notes version of the nsf file to ensure compatibility with version 7 or higher |
| combine-extracted-message-data-into-custom-net-objects-for-further-processing.cs | combine extracted message data into custom net objects for further processing |
| configure-replication-parameters-for-processing-an-input-msg-file-to-ensure-accurate-message-duplication.cs | configure replication parameters for processing an input msg file to ensure accurate message duplication |
| construct-a-new-email-object-using-the-contents-of-an-input-msg-file-preserving-all-original-message-properties.cs | construct a new email object using the contents of an input msg file preserving all original message properties |
| create-a-batch-process-that-scans-a-folder-for-nsf-files-and-processes-each-one.cs | create a batch process that scans a folder for nsf files and processes each one |
| create-a-reusable-library-method-that-returns-a-list-of-message-objects-from-an-nsf-file.cs | create a reusable library method that returns a list of message objects from an nsf file |
| design-a-user-interface-form-that-accepts-msg-files-as-input-directly-for-processing.cs | design a user interface form that accepts msg files as input directly for processing |
| detect-lz1-compression-in-the-nsf-file-and-log-a-warning-if-unsupported.cs | detect lz1 compression in the nsf file and log a warning if unsupported |
| detect-whether-a-given-file-is-in-nsf-format-before-opening-it.cs | detect whether a given file is in nsf format before opening it |
| develop-a-command-line-tool-that-accepts-an-nsf-file-path-and-outputs-message-summaries.cs | develop a command line tool that accepts an nsf file path and outputs message summaries |
| dispose-notesstoragefacility-resources-after-processing-to-prevent-memory-leaks-in-the-application.cs | dispose notesstoragefacility resources after processing to prevent memory leaks in the application |
| document-the-limitations-of-handling-nsf-files-created-with-notes-versions-older-than-seven.cs | document the limitations of handling nsf files created with notes versions older than seven |
| encrypt-extracted-attachment-files-using-aes-before-writing-them-to-disk-for-security.cs | encrypt extracted attachment files using aes before writing them to disk for security |
| extract-a-contact-from-an-msg-file-and-save-it-as-a-vcf-vcard.cs | extract a contact from an msg file and save it as a vcf vcard |
| extract-all-attachments-from-a-message-and-save-them-to-a-specified-output-directory.cs | extract all attachments from a message and save them to a specified output directory |
| filter-enumerated-messages-by-sender-email-address-to-extract-only-relevant-communications.cs | filter enumerated messages by sender email address to extract only relevant communications |
| filter-messages-by-subject-keyword-to-isolate-emails-containing-specific-terms-for-analysis.cs | filter messages by subject keyword to isolate emails containing specific terms for analysis |
| generate-a-calendar-event-using-the-contents-of-an-input-msg-file-as-the-entry-source.cs | generate a calendar event using the contents of an input msg file as the entry source |
| generate-a-csv-file-containing-message-ids-subjects-and-sender-addresses-for-quick-review.cs | generate a csv file containing message ids subjects and sender addresses for quick review |
| generate-a-new-ibm-notes-database-using-an-msg-file-as-the-source-input.cs | generate a new ibm notes database using an msg file as the source input |
| generate-a-new-notes-document-using-an-msg-file-as-input-preserving-the-message-content-and-metadata.cs | generate a new notes document using an msg file as input preserving the message content and metadata |
| generate-a-new-task-object-based-on-the-provided-input-message-msg-for-subsequent-processing.cs | generate a new task object based on the provided input message msg for subsequent processing |
| generate-a-rich-text-rtf-file-from-an-input-msg-email-message-while-preserving-formatting.cs | generate a rich text rtf file from an input msg email message while preserving formatting |
| handle-messages-that-cannot-be-read-by-catching-exceptions-and-recording-error-details.cs | handle messages that cannot be read by catching exceptions and recording error details |
| implement-a-progress-reporter-that-updates-after-each-message-is-processed-in-the-console.cs | implement a progress reporter that updates after each message is processed in the console |
| implement-a-user-interface-view-that-accepts-msg-files-as-input-for-processing-and-display.cs | implement a user interface view that accepts msg files as input for processing and display |
| implement-an-agent-that-accepts-a-msg-object-as-input-and-processes-it-according-to-defined-business-logic.cs | implement an agent that accepts a msg object as input and processes it according to defined business logic |
| implement-asynchronous-enumeration-of-nsf-messages-to-improve-application-responsiveness-during-long-operations.cs | implement asynchronous enumeration of nsf messages to improve application responsiveness during long operations |
| implement-cancellation-support-to-abort-nsf-processing-when-a-user-requests-termination.cs | implement cancellation support to abort nsf processing when a user requests termination |
| implement-retry-logic-when-opening-an-nsf-file-that-may-be-temporarily-locked.cs | implement retry logic when opening an nsf file that may be temporarily locked |
| instantiate-notesstoragefacility-with-the-nsf-file-path-to-prepare-for-enumeration.cs | instantiate notesstoragefacility with the nsf file path to prepare for enumeration |
| instantiate-the-notesdocument-class-and-populate-its-fields-with-the-input-msg-to-create-a-new-notes-document.cs | instantiate the notesdocument class and populate its fields with the input msg to create a new notes document |
| integrate-the-nsf-processing-module-into-an-existing-email-migration-pipeline-for-seamless-data-transfer.cs | integrate the nsf processing module into an existing email migration pipeline for seamless data transfer |
| iterate-through-each-message-reading-its-subject-sender-address-and-received-date.cs | iterate through each message reading its subject sender address and received date |
| load-a-calendar-entry-from-an-msg-file-into-memory-for-further-processing-programmatically.cs | load a calendar entry from an msg file into memory for further processing programmatically |
| load-a-notes-document-by-its-unid-employing-the-notesdocument-class-to-read-the-provided-msg-file.cs | load a notes document by its unid employing the notesdocument class to read the provided msg file |
| load-a-notes-document-from-an-msg-file-using-its-unid-identifier-ensuring-accurate-retrieval-of-content.cs | load a notes document from an msg file using its unid identifier ensuring accurate retrieval of content |
| load-an-agent-using-an-msg-file-as-input-parsing-the-message-content-into-the-appropriate-object-model.cs | load an agent using an msg file as input parsing the message content into the appropriate object model |
| load-an-existing-ibm-notes-database-from-an-msg-file-into-application-memory-for-processing.cs | load an existing ibm notes database from an msg file into application memory for processing |
| load-an-msg-file-into-a-view-object-enabling-programmatic-access-to-its-contents-and-properties.cs | load an msg file into a view object enabling programmatic access to its contents and properties |
| load-and-parse-an-msg-attachment-to-access-its-message-properties-and-content-programmatically.cs | load and parse an msg attachment to access its message properties and content programmatically |
| log-detailed-information-about-messages-that-fail-to-read-due-to-lz1-compression-issues.cs | log detailed information about messages that fail to read due to lz1 compression issues |
| log-the-total-number-of-messages-processed-from-each-nsf-file-for-reporting-purposes.cs | log the total number of messages processed from each nsf file for reporting purposes |
| open-the-nsf-storage-in-read-only-mode-to-safely-access-message-data.cs | open the nsf storage in read only mode to safely access message data |
| parse-the-msg-file-to-programmatically-extract-its-rich-text-body-content-for-subsequent-processing.cs | parse the msg file to programmatically extract its rich text body content for subsequent processing |
| persist-modifications-to-the-database-and-generate-an-msg-file-containing-the-updated-information.cs | persist modifications to the database and generate an msg file containing the updated information |
| process-and-modify-rich-text-content-in-ibm-notes-msg-files-utilizing-the-notesrichtext-class.cs | process and modify rich text content in ibm notes msg files utilizing the notesrichtext class |
| programmatically-add-a-new-attachment-to-an-email-message-using-an-input-msg-file.cs | programmatically add a new attachment to an email message using an input msg file |
| provide-an-option-to-limit-the-maximum-number-of-messages-processed-per-nsf-file.cs | provide an option to limit the maximum number of messages processed per nsf file |
| read-a-contact-from-an-msg-file-into-an-object-model-for-subsequent-processing.cs | read a contact from an msg file into an object model for subsequent processing |
| read-and-parse-an-input-msg-file-to-instantiate-the-corresponding-task-object-in-memory.cs | read and parse an input msg file to instantiate the corresponding task object in memory |
| read-and-parse-an-msg-file-to-access-its-form-data-within-the-application.cs | read and parse an msg file to access its form data within the application |
| read-and-parse-an-msg-file-to-instantiate-a-mail-message-object-for-processing.cs | read and parse an msg file to instantiate a mail message object for processing |
| read-replication-settings-from-an-msg-file-and-map-them-to-the-appropriate-configuration-objects.cs | read replication settings from an msg file and map them to the appropriate configuration objects |
| read-the-body-content-of-each-message-and-store-it-in-a-string-variable.cs | read the body content of each message and store it in a string variable |
| save-extracted-attachment-metadata-such-as-filename-and-size-into-a-database-table.cs | save extracted attachment metadata such as filename and size into a database table |
| serialize-extracted-message-objects-to-json-for-integration-with-external-services.cs | serialize extracted message objects to json for integration with external services |
| use-a-using-statement-to-automatically-close-the-notesstoragefacility-after-processing.cs | use a using statement to automatically close the notesstoragefacility after processing |
| use-parallel-processing-to-handle-multiple-nsf-files-concurrently-while-respecting-thread-safety.cs | use parallel processing to handle multiple nsf files concurrently while respecting thread safety |
| validate-that-each-extracted-attachment-file-size-does-not-exceed-a-predefined-limit.cs | validate that each extracted attachment file size does not exceed a predefined limit |
| validate-that-the-extracted-email-body-does-not-contain-prohibited-html-tags-before-saving.cs | validate that the extracted email body does not contain prohibited html tags before saving |
| when-saving-the-parent-msg-file-attachments-are-automatically-persisted-within-the-resulting-output-message-file.cs | when saving the parent msg file attachments are automatically persisted within the resulting output message file |
Category Statistics
- Total examples: 64
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.

