51
local-guest email smtp-server
Use
local-guest email smtp-server
to specify an SMTP server to send email notifications of local
guests.
Use
undo local-guest email smtp-server
to restore the default.
Syntax
local-guest email smtp-server url-string
undo local-guest email smtp-server
Default
No SMTP server is specified to send email notifications of local guests.
Views
System view
Predefined user roles
network-admin
mdc-admin
Parameters
url-string
: Specifies the path of the SMTP server, a case-sensitive string of 1 to 255 characters. The
path must comply with the standard SMTP protocol and start with
smtp://
.
Usage guidelines
If you execute this command multiple times, the most recent configuration takes effect.
Examples
# Specify the SMTP server at
smtp://www.test.com/smtp
to send local guest email notifications.
<Sysname> system-view
[Sysname] local-guest email smtp-server smtp://www.test.com/smtp
Related commands
local-guest email format
local-guest email sender
local-guest send-email
local-guest generate
Use
local-guest generate
to create local guests in batch.
Syntax
local-guest generate username-prefix
name-prefix
[
password-prefix
password-prefix
]
suffix
suffix-number
[
group
group-name
]
count user-count validity-datetime start-date start-time to
expiration-date expiration-time
Views
System view
Predefined user roles
network-admin
mdc-admin