89 lines
1.9 KiB
JSON
89 lines
1.9 KiB
JSON
{
|
|
"version": "1.0",
|
|
"campaign": {
|
|
"id": "greenmail-delivery",
|
|
"name": "GreenMail delivery acceptance",
|
|
"description": "Credential-free Campaign fixture for the local SMTP/IMAP acceptance test bed.",
|
|
"mode": "test"
|
|
},
|
|
"fields": [
|
|
{
|
|
"name": "display_name",
|
|
"type": "string",
|
|
"label": "Display name",
|
|
"required": true
|
|
},
|
|
{
|
|
"name": "acceptance_run",
|
|
"type": "string",
|
|
"label": "Acceptance run",
|
|
"required": true
|
|
}
|
|
],
|
|
"server": {
|
|
"mail_profile_id": "00000000-0000-4000-8000-000000000001"
|
|
},
|
|
"recipients": {
|
|
"from": [
|
|
{
|
|
"email": "campaign-test@govoplan.test",
|
|
"name": "GovOPlaN acceptance",
|
|
"type": "to"
|
|
}
|
|
],
|
|
"allow_individual_to": true
|
|
},
|
|
"template": {
|
|
"subject": "[GovOPlaN acceptance ${acceptance_run}] Campaign delivery",
|
|
"text": "Hello ${display_name},\n\nThis is an isolated GovOPlaN Campaign SMTP/IMAP acceptance message.\n",
|
|
"body_mode": "text"
|
|
},
|
|
"attachments": {
|
|
"base_path": ".",
|
|
"send_without_attachments_behavior": "continue",
|
|
"global": []
|
|
},
|
|
"entries": {
|
|
"inline": [
|
|
{
|
|
"id": "greenmail-recipient",
|
|
"to": [
|
|
{
|
|
"email": "campaign-test@govoplan.test",
|
|
"name": "GreenMail recipient",
|
|
"type": "to"
|
|
}
|
|
],
|
|
"fields": {
|
|
"display_name": "GreenMail recipient",
|
|
"acceptance_run": "fixture"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"validation_policy": {
|
|
"missing_email": "block",
|
|
"template_error": "block"
|
|
},
|
|
"delivery": {
|
|
"rate_limit": {
|
|
"messages_per_minute": 60
|
|
},
|
|
"retry": {
|
|
"max_attempts": 3,
|
|
"backoff_seconds": [
|
|
1,
|
|
5,
|
|
30
|
|
]
|
|
},
|
|
"imap_append_sent": {
|
|
"enabled": true,
|
|
"folder": "Sent"
|
|
}
|
|
},
|
|
"status_tracking": {
|
|
"enabled": true
|
|
}
|
|
}
|