Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

EmailShareCopyOptions

OfficeIMO.Email

Namespace
OfficeIMO.Email
Assembly
OfficeIMO.Email
Source revision
ba882f6b0d07 with working tree changes
Modifiers
sealed

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

Inheritance

  • object
  • EmailShareCopyOptions

Usage

Explore 2 API references to this type

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

Returned or exposed by 1

Accepted by parameters 1

Constructors

public EmailShareCopyOptions() #

Methods

public EmailShareCopyOptions Clone() #

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 bool 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<int> AttachmentIndexes { get; } #

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

public bool KeepAttachmentNames { get; set; } #

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

public IDictionary<int, string> AttachmentNames { get; } #

Replacement names for selected attachments, keyed by original index.

public int MaxTextChars { get; set; } #

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

public int MaxRecipients { get; set; } #

Maximum original recipients considered.

public int MaxHeaders { get; set; } #

Maximum original headers considered.

public int MaxAttachments { get; set; } #

Maximum selected attachment count.

public long MaxAttachmentBytes { get; set; } #

Maximum decoded bytes per selected attachment.

public long MaxTotalAttachmentBytes { get; set; } #

Maximum decoded bytes across selected attachments.