< Home

override mail-recipient

Function

The override mail-recipient command reconfigures an email recipient address.

The undo override mail-recipient command delete the email recipient address and CC address to the default values.

Format

override mail-recipient mail-address

undo override mail-recipient mail-address

Parameters

Parameter Description Value
mail-address Specifies the email recipient address. The value is a string of 6 to 64 characters.

Views

Email outgoing policy view

Default Level

2: Configuration level

Usage Guidelines

Before you configure an email outgoing policy, run the mail command to specify the email recipient and CC recipient. You can run the override mail-recipient command to reconfigure the recipient. In this case, the configuration by the mail command does not take effect.

You can reconfigure a maximum of 10 recipients.

Example

# Set the email recipient address to jack@mail.example.com.

<sysname> system-view
[sysname] mail-send policy name abc
[sysname-policy-mail-send-abc] override mail-recipient jack@mail.example.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >