Zum Hauptinhalt springen

FailedImportMailsNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Extract

The settings ListFailedImportMails@1 and RequeueFailedImportMails@1 share: which channel, which stored mail configuration and which settings attributes name the mailbox, the folder the import polls (the re-queue target) and the folder it parks mails it gave up on.

Nothing about the mailbox comes from the request. The channel is the only value a route may feed in (FailedImportMailsNodeConfiguration.ChannelPath); mailbox, source folder, failed folder and credentials are read from the configuration entities the pipeline Uses — the very ones the mail triggers read — so an operator can only ever act on their own tenant's configured mailbox.

public abstract record FailedImportMailsNodeConfiguration : TargetPathNodeConfiguration, INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<FailedImportMailsNodeConfiguration>

Inheritance Object → NodeConfiguration → TargetPathNodeConfiguration → FailedImportMailsNodeConfiguration
Implements INodeConfiguration, IEquatable<NodeConfiguration>, ITargetPathNodeConfiguration, IEquatable<TargetPathNodeConfiguration>, IEquatable<FailedImportMailsNodeConfiguration>

Fields​

DefaultMaxMails​

Default for MaxMails, resolved where the value is read.

public static int DefaultMaxMails;

DefaultTimeoutSeconds​

Default for TimeoutSeconds, resolved where the value is read.

public static int DefaultTimeoutSeconds;

ChannelImap​

The channel name for an IMAP mailbox.

public static string ChannelImap;

ChannelGraph​

The channel name for a Microsoft 365 mailbox read through Microsoft Graph.

public static string ChannelGraph;

Properties​

Channel​

Which mailbox: Imap or Graph (case-insensitive). Ignored when FailedImportMailsNodeConfiguration.ChannelPath resolves.

public string Channel { get; set; }

Property Value​

String

ChannelPath​

JSONPath to the channel name in the data context, e.g. $.body.channel. Wins over FailedImportMailsNodeConfiguration.Channel.

public string ChannelPath { get; set; }

Property Value​

String

ImapServerConfiguration​

IMAP: well-known name of the System.Communication/EMailReceiverConfiguration the FromEmail@1 trigger connects with.

public string ImapServerConfiguration { get; set; }

Property Value​

String

ImapSettingsConfiguration​

IMAP: well-known name of the settings configuration the trigger reads its folders from (settingsConfiguration).

public string ImapSettingsConfiguration { get; set; }

Property Value​

String

ImapSourceFolderAttribute​

IMAP: attribute holding the folder the import polls — where a re-queued mail goes.

public string ImapSourceFolderAttribute { get; set; }

Property Value​

String

ImapFailedFolderAttribute​

IMAP: attribute holding the folder failed mails are parked in.

public string ImapFailedFolderAttribute { get; set; }

Property Value​

String

GraphServerConfiguration​

Microsoft Graph: well-known name of the System.Communication/MicrosoftGraphConfiguration (the FromMicrosoftGraphEmail@1 trigger's serverConfiguration).

public string GraphServerConfiguration { get; set; }

Property Value​

String

GraphSettingsConfiguration​

Microsoft Graph: well-known name of the settings configuration the trigger reads its mailbox and folders from.

public string GraphSettingsConfiguration { get; set; }

Property Value​

String

GraphMailboxAttribute​

Microsoft Graph: attribute holding the mailbox address.

public string GraphMailboxAttribute { get; set; }

Property Value​

String

GraphSourceFolderAttribute​

Microsoft Graph: attribute holding the folder the import polls — where a re-queued mail goes.

public string GraphSourceFolderAttribute { get; set; }

Property Value​

String

GraphFailedFolderAttribute​

Microsoft Graph: attribute holding the folder failed mails are parked in.

public string GraphFailedFolderAttribute { get; set; }

Property Value​

String

MaxMails​

Upper bound on the mails handled in one call (default 200): listed, or re-queued by "all". The output says truncated: true when more are waiting. Nullable with the default resolved where it is read — the definition deserializer overwrites an initializer with a present null.

public Nullable<int> MaxMails { get; set; }

Property Value​

Nullable<Int32>

TimeoutSeconds​

Overall time budget in seconds (default 120): connecting plus every request together.

public Nullable<int> TimeoutSeconds { get; set; }

Property Value​

Nullable<Int32>

TargetPath​

public string TargetPath { get; set; }

Property Value​

String

TargetValueWriteMode​

public TargetValueWriteModes TargetValueWriteMode { get; set; }

Property Value​

TargetValueWriteModes

TargetValueKind​

public ValueKinds TargetValueKind { get; set; }

Property Value​

ValueKinds

DocumentMode​

public DocumentModes DocumentMode { get; set; }

Property Value​

DocumentModes

Description​

public string Description { get; set; }

Property Value​

String