Direkt zum Hauptinhalt

SMTP-Konto Auflösung – Prioritätenreihenfolge

┌─────────────────────────────────────────────────────┐ │ SMTP-Konto Ermittlung │ │ (höchste → niedrigste Priorität) │ └─────────────────────────────────────────────────────┘

     ┌──────────────────────────┐
│  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

PrioEbenePropertyBeschreibung
1 (höchste)WorkflowWorkflow.UseSmtpAcount Pro einzelnem Workflow konfigurierbar. Überschreibt alle anderen.
2Workflow-EinstellungWorkflowSettings.UseSmtpAcountGilt für eine Workflow-Einstellung (Gruppe von Workflows).
3MandantCompany.UseSmtpAcountMandantenweites SMTP-Konto als Fallback.
4 (niedrigste)System-StandardSmtpAccount.DefaultAccount == trueGlobaler Fallback, wenn nichts anderes konfiguriert ist.