< Home

mail sender

Function

The mail sender command sets the email sender address.

The undo mail sender command cancels the email sender address setting.

Format

mail sender mail-address

undo mail sender

Parameters

Parameter Description Value
mail-address Specifies the sender address. The value is a string of 6 to 64 characters, such as mail@example.com.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

You can set only one email sender address. If you run this command repeatedly, the latest configuration overrides the previous one.

Example

# Set the email sender address to mail@example.com.

<sysname> system-view
[sysname] mail sender mail@example.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >