uipath-cli
latest
false
UiPath CLI ユーザー ガイド
- 概要
- はじめに
- 概念
- UiPath CLI を使用する
- 使用ガイド
- CI/CD レシピ
- コマンド リファレンス
- 概要
- 終了コード
- グローバル オプション
- uip codedagent
- uip coder
- uip context-grounding
- uip docsai
- uip function
- uip guardrails
- uip llm-configuration
- uip llm-gateway
- uip model-hub
- add-test-data-entity
- テスト データのキューを追加
- 追加-テスト-データ-バリエーション
- 分析
- 開発
- プロジェクトを作成
- 差分
- アクティビティを検索
- GET-ANALYZER-RULES
- get-default-activity-xaml
- エラーを取得
- 手動テスト用のテスト ケースを取得
- 手動テストステップを取得
- get-library-object-repository
- get-object-repository
- get-versions
- Get-workflow-example
- indicate-application
- 要素を示す
- inspect-package
- install-data-fabric-entities
- パッケージのインストールまたは更新
- list-data-fabric-entities
- list-instances
- list-workflow-examples
- パッケージ化
- パブリッシュ
- remote
- 元に戻す
- run, debug & execution
- ファイル名を実行
- 検索テンプレート
- スタートスタジオ
- 実行を停止
- tm
- UIA
- uip tasks
- uip traces
- uip traces feedback
- 移行
- 参照とサポート
重要 :
このコンテンツは機械翻訳によって処理されています。
新しいコンテンツの翻訳は、およそ 1 ~ 2 週間で公開されます。
Syntax and options for `uip admin smtp`, which manages the organization's outbound SMTP email configuration.
uip admin smtp reads, updates, deletes, and tests the organization's outbound SMTP email configuration — the mail server UiPath uses to send notifications, invitations, and alerts.
概要
uip admin smtp get
uip admin smtp update [--host <host>] [--port <port>] [--username <username>] [--password <password>] [--domain <domain>] [--enable-ssl true|false] [--use-default-credentials true|false] [--from-address <email>] [--from-display-name <name>] [--connection-timeout <ms>]
uip admin smtp delete
uip admin smtp test --recipient <email> [same options as update]
uip admin smtp get
uip admin smtp update [--host <host>] [--port <port>] [--username <username>] [--password <password>] [--domain <domain>] [--enable-ssl true|false] [--use-default-credentials true|false] [--from-address <email>] [--from-display-name <name>] [--connection-timeout <ms>]
uip admin smtp delete
uip admin smtp test --recipient <email> [same options as update]
概念
- Settings are stored as individual key/value pairs (
Email.Smtp.Host,Email.Smtp.Port, etc.) under the hood, but the CLI presents them as one flat settings object. - The password is write-only.
smtp getnever returns it — the server returns SMTP settings with the password masked, so reading it back and re-sending it on update would silently corrupt the real value.smtp updateonly writes the password when you explicitly pass--password. updatemerges, it doesn't replace. It reads the existing settings, overlays the fields you passed, and writes the union back — because the server requires related keys (host, port, from-address) to be present together in one request. Passing no fields at all fails client-side ("No SMTP fields to update").--portand--connection-timeoutare range-validated client-side — port must be an integer 1–65535; connection timeout must be an integer 1–300000 (milliseconds). An out-of-range value fails before any network call.testcan validate a config without saving it. Pass SMTP options directly totestto try them without persisting; omit them to test the already-saved configuration. If you pass any custom SMTP option but not--password, and--use-default-credentialsisn'ttrue, the command fails client-side — the saved password is encrypted server-side and can't be reused in an ad hoc test. When you do pass partial custom options, they're merged onto the saved config (e.g.--hostalone still uses the savedfrom-address).
uip admin smtp get
Get current SMTP settings for the organization. Password values are never returned.
例
uip admin smtp get
uip admin smtp get
データシェイプ(--output json)
{
"Code": "SmtpSettings",
"Data": {
"host": "smtp.example.com",
"port": "587",
"userName": "noreply@example.com",
"enableSsl": "True",
"fromAddress": "noreply@example.com",
"fromDisplayName": "UiPath Platform"
}
}
{
"Code": "SmtpSettings",
"Data": {
"host": "smtp.example.com",
"port": "587",
"userName": "noreply@example.com",
"enableSsl": "True",
"fromAddress": "noreply@example.com",
"fromDisplayName": "UiPath Platform"
}
}
uip admin smtp update
Update SMTP settings. Only the fields you pass change; everything else is preserved from the existing configuration.
オプション
| 長押し | 値 (Value) | 説明 |
|---|---|---|
--host <host> | string | SMTP server hostname. |
--port <port> | integer 1–65535 | SMTP server port. |
--username <username> | string | SMTP authentication username. |
--password <password> | string | SMTP authentication password. Write-only (never read back). |
--domain <domain> | string | SMTP authentication domain. |
--enable-ssl <value> | true|false | Enable SSL/TLS. |
--use-default-credentials <value> | true|false | Use Windows default credentials instead of username/password. |
--from-address <email> | メール アドレス | Sender email address. |
--from-display-name <name> | string | Sender display name. |
--connection-timeout <ms> | integer 1–300000 | Connection timeout in milliseconds. |
At least one option is required.
例
uip admin smtp update --host smtp.example.com --port 587
uip admin smtp update --host smtp.example.com --port 587
uip admin smtp update --host smtp.example.com --port 587 --username user@example.com \
--password secret --from-address noreply@example.com --enable-ssl true
uip admin smtp update --host smtp.example.com --port 587 --username user@example.com \
--password secret --from-address noreply@example.com --enable-ssl true
データシェイプ(--output json)
{ "Code": "SmtpSettingsUpdated", "Data": { "host": "smtp.example.com", "port": "587", "...": "same shape as smtp get" } }
{ "Code": "SmtpSettingsUpdated", "Data": { "host": "smtp.example.com", "port": "587", "...": "same shape as smtp get" } }
uip admin smtp delete
Delete all SMTP settings for the organization — removes the entire email configuration.
例
uip admin smtp delete
uip admin smtp delete
データシェイプ(--output json)
{ "Code": "SmtpSettingsDeleted", "Data": { "Status": "Deleted successfully" } }
{ "Code": "SmtpSettingsDeleted", "Data": { "Status": "Deleted successfully" } }
uip admin smtp test
Send a test email using the current saved settings, or a set of settings passed inline without saving them.
オプション
| 長押し | 値 (Value) | Required | 説明 |
|---|---|---|---|
--recipient <email> | メール アドレス | ○ | Address to send the test email to. |
...same as update | × | Optional — pass any subset to test custom settings without saving. --password is required alongside a custom config unless --use-default-credentials true. |
例
# Test the saved configuration
uip admin smtp test --recipient admin@example.com
# Test the saved configuration
uip admin smtp test --recipient admin@example.com
# Test a custom configuration without saving it
uip admin smtp test --recipient admin@example.com --host smtp.example.com --port 587 \
--username user@example.com --password secret
# Test a custom configuration without saving it
uip admin smtp test --recipient admin@example.com --host smtp.example.com --port 587 \
--username user@example.com --password secret
データシェイプ(--output json)
{ "Code": "SmtpTestSent", "Data": { "Recipient": "admin@example.com", "Status": "Test email sent successfully" } }
{ "Code": "SmtpTestSent", "Data": { "Recipient": "admin@example.com", "Status": "Test email sent successfully" } }
関連
uip admin users— directory users and groups.uip admin robot-accounts/pat/scopes— non-human identities and tokens.uip admin external-apps— OAuth2 client registrations.