Skip to main content

Email rule object

JSON

{
"type": "from_domain",
"value": "altcraft.com",
"senders": [
{
"sender_id": 287,
"percent": 100,
"from_email": "no-reply@altcraft.com",
"replyto_email": "no-reply@altcraft.com",
"from_name": ""
}
]
}

Object parameters

ParameterTypeExampleDescription
typestring"default"Email sender rule type
valuestring/int""depending on rule type
sendersJSON array[]Senders list

Rule types

TypeValue typeExampleDescription
defaultstring""Always enabled
group_idint12If group ID equals..
from_domainstring"altcraft.com"If From domain equals..
to_domainstring"gmail.com"If To domain equals..