From 2f217f57429e283d9f64cda9c509950627e69681 Mon Sep 17 00:00:00 2001 From: Joseph Doherty Date: Mon, 10 Aug 2026 06:39:49 -0400 Subject: [PATCH] docs(cli): document notification smtp update --transport --- src/ZB.MOM.WW.ScadaBridge.CLI/README.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/ZB.MOM.WW.ScadaBridge.CLI/README.md b/src/ZB.MOM.WW.ScadaBridge.CLI/README.md index 8ec7c4b9..efc0f9c9 100644 --- a/src/ZB.MOM.WW.ScadaBridge.CLI/README.md +++ b/src/ZB.MOM.WW.ScadaBridge.CLI/README.md @@ -1302,18 +1302,22 @@ scadabridge --url notification smtp list Update the SMTP configuration. ```sh -scadabridge --url notification smtp update --id --server --port --auth-mode --from-address [--tls-mode ] [--credentials ] +scadabridge --url notification smtp update --id --server --port --auth-mode --from-address [--tls-mode ] [--credentials ] [--transport ] ``` | Option | Required | Description | |--------|----------|-------------| | `--id` | yes | SMTP config ID | -| `--server` | yes | SMTP server hostname | +| `--server` | yes | SMTP server hostname (under `--transport Ews`, the full EWS URL — `https://…/ews/exchange.asmx`) | | `--port` | yes | SMTP server port | | `--auth-mode` | yes | Authentication mode (e.g. `OAuth2ClientCredentials`, `Basic`) | | `--from-address` | yes | Sender email address | | `--tls-mode` | no | TLS mode: `None`, `StartTLS`, or `SSL` (preserves existing if omitted) | | `--credentials` | no | SMTP credentials — `username:password` for Basic, or client secret for OAuth2 (preserves existing if omitted) | +| `--transport` | no | Email transport: `Smtp` or `Ews` (preserves existing if omitted) | + +Under `--transport Ews`, `--server` carries the full EWS URL, `--auth-mode` must be `Basic`, +and `--port` / `--tls-mode` are unused. #### `notification sms list`