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`