SMTPMetaData

@Serializable
data class SMTPMetaData(val host: String = "", val port: Int = 587, val username: String = "", val token: String = "", val fromAddress: String = "", val toAddress: String = "", val sources: List<NodeIdentity> = emptyList(), val targets: List<NodeIdentity> = emptyList(), val executionSource: List<ExecutionSource> = emptyList(), val error: String = "") : TargetingNodeMetaData(source)

Payload for an SMTP executor node.

Constructors

Link copied to clipboard
constructor(host: String = "", port: Int = 587, username: String = "", token: String = "", fromAddress: String = "", toAddress: String = "", sources: List<NodeIdentity> = emptyList(), targets: List<NodeIdentity> = emptyList(), executionSource: List<ExecutionSource> = emptyList(), error: String = "")

Properties

Link copied to clipboard
open override val error: String

Last known error message for this node, or empty string when healthy.

Link copied to clipboard

The set of ExecutionSources configured to wake this node. The node processor checks the incoming event against this list before doing any work. An empty list means "never auto-fire" — only manual execution.

Link copied to clipboard

From: address shown on outgoing mail.

Link copied to clipboard

SMTP relay hostname (e.g. "smtp.gmail.com").

Link copied to clipboard
val port: Int

SMTP submission port — defaults to 587 (STARTTLS).

Link copied to clipboard
open override val sources: List<NodeIdentity>

Upstream nodes whose values feed this one. For a filter or executor this is the data being read; for a trigger it is the value being watched.

Link copied to clipboard
open override val targets: List<NodeIdentity>

Downstream nodes this one writes to or actuates. May be empty for nodes that only side-effect outside the swarm (e.g. an SMTP executor).

Link copied to clipboard

To: address(es) — comma-separated list.

Link copied to clipboard

SMTP authentication password / app-token. Stored server-side; never sent to read clients.

Link copied to clipboard

SMTP authentication username.