Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

EmailShareCopyOptions

Namespace OfficeIMO.Email
Assembly OfficeIMO.Email
Modifiers sealed

Explicit field selection for an independent plain-text artifact; this is not complete anonymization.

Inheritance

  • Object
  • EmailShareCopyOptions

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by

Accepted by parameters

Constructors

Methods

public EmailShareCopyOptions Clone() #
Returns: EmailShareCopyOptions

Creates an independent policy snapshot, including selection collections.

Properties

public EmailShareFields RetainedFields { get; set; } #

Original envelope fields to retain. None are retained by default.

public String ReplacementSubject { get; set; } #

Replacement subject, including an empty value. Null uses the subject selection policy.

public String ReplacementBodyText { get; set; } #

Replacement plain body, including an empty value. Null uses the original plain-text body.

public IDictionary<String, String> AddressReplacements { get; } #

Replace selected address values, or omit them when the replacement is null. Matching ignores case.

public Boolean KeepDisplayNames { get; set; } #

Retain address display names. Raw spelling and source-specific recipient properties are never copied.

public ICollection<String> RetainedHeaderNames { get; } #

Explicit extra header names to retain; envelope, MIME and integrity headers remain owned by the new artifact.

public ICollection<Int32> AttachmentIndexes { get; } #

Zero-based ordinary attachment indexes to copy. Payload content is retained unchanged and may contain private data.

public Boolean KeepAttachmentNames { get; set; } #

Retain selected original attachment names unless overridden. Generic names are used by default.

public IDictionary<Int32, String> AttachmentNames { get; } #

Replacement names for selected attachments, keyed by original index.

public Int32 MaxTextChars { get; set; } #

Maximum source or replacement text field length, before any artifact is created.

public Int32 MaxRecipients { get; set; } #

Maximum original recipients considered.

public Int32 MaxHeaders { get; set; } #

Maximum original headers considered.

public Int32 MaxAttachments { get; set; } #

Maximum selected attachment count.

public Int64 MaxAttachmentBytes { get; set; } #

Maximum decoded bytes per selected attachment.

public Int64 MaxTotalAttachmentBytes { get; set; } #

Maximum decoded bytes across selected attachments.