smtp

Configure a Simple Mail Transfer Protocol (SMTP) server to use for sending emails from the ACOS device.

smtp Specification

Type Configuration Resource
Element Name smtp
Element URI /axapi/v3/smtp
Element Attributes smtp_attributes
Schema smtp schema

Operations Allowed:

Operation Method URI Payload

Create Object

POST

/axapi/v3/smtp

smtp Attributes

Get Object

GET

/axapi/v3/smtp

smtp Attributes

Modify Object

POST

/axapi/v3/smtp

smtp Attributes

Replace Object

PUT

/axapi/v3/smtp

smtp Attributes

Delete Object

DELETE

/axapi/v3/smtp

smtp Attributes

smtp Attributes

mailfrom

Description: Configure email source address

Type: string

Format: email-addr

needauthentication

Description: Configure SMTP server need authtication

Type: boolean

Supported Values: true, false, 1, 0

Default: 0

port

Description: Configure SMTP Port (Configure SMTP port, default is 25)

Type: number

Range: 1-65535

smtp-server

Description: Configure SMTP Server (length:1-31)

Type: string

Format: host

Mutual Exclusion: smtp-server and smtp-server-v6 are mutually exclusive

smtp-server-v6

Description: Configure SMTP Server IPV6 address

Type: string

Format: ipv6-address

Mutual Exclusion: smtp-server-v6 and smtp-server are mutually exclusive

username-cfg

Description: username-cfg is a JSON Block . Please see below for username-cfg

Type: Object

uuid

Description: uuid of the object

Type: string

username-cfg

Specification
Type object

password

Description: password is a JSON Block . Please see below for l217_password

Type: Object

username

Description: Configure SMTP login username

Type: string

Format: string-rlx

username-cfg.password

Specification
Type object

encrypted

Description: Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED password string)

smtp-password

Description: Configure SMTP login password

Type: string

Format: password