Era.Common.DataDefinition.Task.Server.MailServer

Description

SMTP server parameters

Properties

Name JsonSchemaType Description
connection reference to Era.Common.DataDefinition.Network.Connection Connection to mail server
connection_protocol enum of Era.Common.DataDefinition.Task.Server.MailServer_Protocol Mail server protocol to be used
connection_security enum of Era.Common.DataDefinition.Task.Server.MailServer_ConnectionSecurity Connection type (security) to be used
credentials reference to Era.Common.DataDefinition.Task.Server.MailServer_Credentials Authentication credentials to be used. If not set, no authentication will be performed

Dual message (request/response)

No dual message.

Referenced in messages

Era.Common.DataDefinition.Task.Server.GenerateReport_EmailTarget
Era.Common.DataDefinition.Task.Server.SendMail

JsonSchema

{
    "title": "Era.Common.DataDefinition.Task.Server.MailServer",
    "type": "object",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "additionalProperties": false,
    "required": [
        "Era.Common.DataDefinition.Task.Server.MailServer"
    ],
    "properties": {
        "Era.Common.DataDefinition.Task.Server.MailServer": {
            "$ref": "#/definitions/MailServer"
        }
    },
    "definitions": {
        "MailServer": {
            "additionalProperties": false,
            "required": [
                "connection",
                "connection_protocol",
                "connection_security"
            ],
            "type": "object",
            "properties": {
                "connection": {
                    "$ref": "Era.Common.DataDefinition.Network.Connection#/definitions/Connection"
                },
                "connection_protocol": {
                    "enum": [
                        1
                    ]
                },
                "connection_security": {
                    "enum": [
                        1,
                        2,
                        3
                    ]
                },
                "credentials": {
                    "$ref": "Era.Common.DataDefinition.Task.Server.MailServer_Credentials#/definitions/MailServer_Credentials"
                }
            }
        }
    }
}