< Home

mail subject

Function

The mail subject command sets email subjects.

The undo mail subject command cancels the email subjects setting.

Format

mail subject subject-name

undo mail subject

Parameters

Parameter Description Value
subject-name Specifies the email subject. The value is a string of 1 to 127 characters.

Views

Email outgoing policy view

Default Level

2: Configuration level

Usage Guidelines

None

Example

# Set the email subject to logreport.

<sysname> system-view
[sysname] mail-send policy name policy1
[sysname-policy-mailsend-policy1] mail subject logreport
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >