Era.Common.DataDefinition.Task.Server.MailHeader
Description
Definition of mail header
Properties
Name |
JsonSchemaType |
Description |
mail_bcc_recipients |
array of string |
List of email recipients (BCC) |
mail_cc_recipients |
array of string |
List of email recipients (CC) |
mail_headers |
array of references to Era.Common.DataDefinition.Task.Server.KeyValue |
Custom mail headers to be used |
mail_recipients |
array of string |
List of email recipients |
mail_sender |
string |
Email sender (will be visible for recipients). Expected is email address in standard format |
mail_subject |
string |
Subject of this email |
Dual message (request/response)
No dual message.Referenced in messages
Era.Common.DataDefinition.Task.Server.GenerateReport_EmailTarget
Era.Common.DataDefinition.Task.Server.MailMessage
JsonSchema
{
"title": "Era.Common.DataDefinition.Task.Server.MailHeader",
"type": "object",
"$schema": "http://json-schema.org/draft-04/schema#",
"additionalProperties": false,
"required": [
"Era.Common.DataDefinition.Task.Server.MailHeader"
],
"properties": {
"Era.Common.DataDefinition.Task.Server.MailHeader": {
"$ref": "#/definitions/MailHeader"
}
},
"definitions": {
"MailHeader": {
"additionalProperties": false,
"type": "object",
"properties": {
"mail_bcc_recipients": {
"type": "array",
"items": [
{
"pattern": "[^\\\\r\\\\n]+@[^\\\\r\\\\n]+",
"type": "string"
}
]
},
"mail_cc_recipients": {
"type": "array",
"items": [
{
"pattern": "[^\\\\r\\\\n]+@[^\\\\r\\\\n]+",
"type": "string"
}
]
},
"mail_headers": {
"type": "array",
"items": [
{
"$ref": "Era.Common.DataDefinition.Task.Server.KeyValue#/definitions/KeyValue"
}
]
},
"mail_recipients": {
"type": "array",
"items": [
{
"pattern": "[^\\\\r\\\\n]+@[^\\\\r\\\\n]+",
"type": "string"
}
]
},
"mail_sender": {
"pattern": "[^\\\\r\\\\n]+@[^\\\\r\\\\n]+",
"type": "string"
},
"mail_subject": {
"type": "string"
}
}
}
}
}