Share via


az communication email status

Note

This reference is part of the communication extension for the Azure CLI (version 2.59.0 or higher). The extension will automatically install the first time you run an az communication email status command. Learn more about extensions.

Command group 'communication email' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Commands to get the status of emails previously sent using Azure Communication Services Email service.

Commands

Name Description Type Status
az communication email status get

Get status of an email previously sent.

Extension Preview

az communication email status get

Preview

Command group 'communication email' is in preview and under development. Reference and support levels: https://aka.ms/CLI_refstatus

Get status of an email previously sent.

az communication email status get --connection-string
                                  --operation-id

Examples

Get status of an email

az communication email status get --operation-id "01234567-89ab-cdef-0123-012345678901" --connection-string "endpoint=XXXXXXXXXXXXXXXX;accesskey=XXXXXXXXXXXXXXXXXXXXXX"

Required Parameters

--connection-string

Connection string for Azure Communication Service. Must be provided.

--operation-id

System generated message id (GUID) returned from a previous call to send email.

Global Parameters
--debug

Increase logging verbosity to show all debug logs.

--help -h

Show this help message and exit.

--only-show-errors

Only show errors, suppressing warnings.

--output -o

Output format.

Accepted values: json, jsonc, none, table, tsv, yaml, yamlc
Default value: json
--query

JMESPath query string. See http://jmespath.org/ for more information and examples.

--subscription

Name or ID of subscription. You can configure the default subscription using az account set -s NAME_OR_ID.

--verbose

Increase logging verbosity. Use --debug for full debug logs.