UiPath Documentation
uipath-cli
latest
false
Guía del usuario de UiPath CLI
Importante :
Este contenido se ha traducido mediante traducción automática. La localización de contenidos recién publicados puede tardar entre una y dos semanas en estar disponible.

uip admin smtp

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.

Sinopsis

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]

Conceptos

  • 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 get never 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 update only writes the password when you explicitly pass --password.
  • update merges, 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").
  • --port and --connection-timeout are 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.
  • test can validate a config without saving it. Pass SMTP options directly to test to 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-credentials isn't true, 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. --host alone still uses the saved from-address).

uip admin smtp get

Get current SMTP settings for the organization. Password values are never returned.

Ejemplo

uip admin smtp get
uip admin smtp get

Forma de datos (--json de salida)

{
  "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.

Opciones

LargoValorDescripción
--host <host>StringSMTP server hostname.
--port <port>integer 1–65535SMTP server port.
--username <username>StringSMTP authentication username.
--password <password>StringSMTP authentication password. Write-only (never read back).
--domain <domain>StringSMTP authentication domain.
--enable-ssl <value>true|falseEnable SSL/TLS.
--use-default-credentials <value>true|falseUse Windows default credentials instead of username/password.
--from-address <email>Correo electrónicoSender email address.
--from-display-name <name>StringSender display name.
--connection-timeout <ms>integer 1–300000Connection timeout in milliseconds.

At least one option is required.

Ejemplos

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

Forma de datos (--json de salida)

{ "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.

Ejemplo

uip admin smtp delete
uip admin smtp delete

Forma de datos (--json de salida)

{ "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.

Opciones

LargoValorObligatorioDescripción
--recipient <email>Correo electrónicoAddress to send the test email to.
...same as updateNoOptional — pass any subset to test custom settings without saving. --password is required alongside a custom config unless --use-default-credentials true.

Ejemplos

# 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

Forma de datos (--json de salida)

{ "Code": "SmtpTestSent", "Data": { "Recipient": "admin@example.com", "Status": "Test email sent successfully" } }
{ "Code": "SmtpTestSent", "Data": { "Recipient": "admin@example.com", "Status": "Test email sent successfully" } }

Ver también

¿Te ha resultado útil esta página?

Conectar

¿Necesita ayuda? Soporte

¿Quiere aprender? UiPath Academy

¿Tiene alguna pregunta? Foro de UiPath

Manténgase actualizado