SMTP-Konto Auflösung – Prioritätenreihenfolge
┌──────────────────────────┐ │ 1. Workflow.UseSmtpAcount│ │ (pro Workflow konfiguriert)│ └────────────┬─────────────┘ │ gesetzt? ├── JA ──→ ✅ Verwende dieses Konto │ NEIN │ ▼ ┌───────────────────────────────┐ │ 2. WorkflowSettings.UseSmtpAcount │ │ (pro Workflow-Einstellung) │ └────────────┬──────────────────┘ │ gesetzt? ├── JA ──→ ✅ Verwende dieses Konto │ NEIN │ ▼ ┌──────────────────────────┐ │ 3. Company.UseSmtpAcount │ │ (pro Mandant konfiguriert)│ └────────────┬─────────────┘ │ gesetzt? ├── JA ──→ ✅ Verwende dieses Konto │ NEIN │ ▼ ┌──────────────────────────────┐ │ 4. Default SmtpAccount │ │ (DefaultAccount == true) │ └────────────┬─────────────────┘ │ gesetzt? ├── JA ──→ ✅ Verwende dieses Konto │ NEIN │ ▼ ┌──────────────────────────────┐ │ ❌ MissingSmtpAccounException │ └──────────────────────────────┘
Prioritätstabelle
| Prio | Ebene | Property | Beschreibung |
|---|---|---|---|
| 1 (höchste) | Workflow | Workflow.UseSmtpAcount |
Pro einzelnem Workflow konfigurierbar. Überschreibt alle anderen. |
| 2 | Workflow-Einstellung | WorkflowSettings.UseSmtpAcount |
Gilt für eine Workflow-Einstellung (Gruppe von Workflows). |
| 3 | Mandant | Company.UseSmtpAcount |
Mandantenweites SMTP-Konto als Fallback. |
| 4 (niedrigste) | System-Standard | SmtpAccount.DefaultAccount == true |
Globaler Fallback, wenn nichts anderes konfiguriert ist. |