{ "id":"/axapi/v3/smtp", "type":"object", "node-type":"scalar", "title":"smtp", "partition-visibility":"shared", "description":"Configure SMTP Server", "properties":{ "smtp-server":{ "type":"string", "format":"host", "minLength":1, "maxLength":254, "partition-visibility":"shared", "not":"smtp-server-v6", "description":"Configure SMTP Server (length:1-254)", "optional":true }, "smtp-server-v6":{ "type":"string", "format":"ipv6-address", "partition-visibility":"shared", "not":"smtp-server", "description":"Configure SMTP Server IPV6 address", "optional":true }, "port":{ "type":"number", "format":"number", "minimum":1, "maximum":65535, "partition-visibility":"shared", "description":"Configure SMTP Port (Configure SMTP port, default is 25)", "optional":true }, "needauthentication":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"shared", "description":"Configure SMTP server need authtication", "optional":true }, "mailfrom":{ "type":"string", "format":"email-addr", "minLength":1, "maxLength":63, "partition-visibility":"shared", "description":"Configure email source address", "optional":true }, "use-mgmt-port":{ "type":"number", "format":"flag", "default":0, "partition-visibility":"private", "description":"Use management port as source port", "optional":true }, "username-cfg":{ "type":"object", "properties":{ "username":{ "type":"string", "format":"string-rlx", "minLength":1, "maxLength":31, "partition-visibility":"shared", "description":"Configure SMTP login username" }, "password":{ "type":"object", "properties":{ "smtp-password":{ "type":"string", "format":"password", "minLength":1, "maxLength":31, "partition-visibility":"shared", "description":"Configure SMTP login password" }, "encrypted":{ "type":"encrypted", "format":"encrypted", "partition-visibility":"shared", "description":" Do NOT use this option manually. (This is an A10 reserved keyword.) (The ENCRYPTED password string)" } } } } }, "uuid":{ "type":"string", "format":"string", "minLength":1, "maxLength":64, "partition-visibility":"shared", "modify-not-allowed":1, "description":"uuid of the object", "optional":true } } }