Zum Hauptinhalt springen

ListFailedImportMailsNodeConfiguration

Namespace: Meshmakers.Octo.MeshAdapter.Nodes.Extract

Configuration for node ListFailedImportMails: lists the mails the e-mail document import gave up on and parked in the channel's failed folder, so an accounting manager can send them back without anybody opening the mailbox.

Output at : { channel, mailbox, configured, folderFound, failedFolder, sourceFolder, truncated, mails: [ { id, subject, from, receivedAt, attempts, parked, failureReason, internetMessageId } ] }. A channel without a configured failed folder answers configured: false instead of an error. attempts is the count read from the OctoMesh-Import-Attempt-N markers (null when the channel keeps none — IMAP — or the mail was parked, which drops them); failureReason is null because neither trigger records one. Read-only.

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

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

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

Constructors​

ListFailedImportMailsNodeConfiguration()​

public ListFailedImportMailsNodeConfiguration()