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
Parameter | Type | Example | Description |
---|---|---|---|
type | string | "default" | Email sender rule type |
value | string/int | "" | depending on rule type |
senders | JSON array | [] | Senders list |
Rule types
Type | Value type | Example | Description |
---|---|---|---|
default | string | "" | Always enabled |
group_id | int | 12 | If group ID equals.. |
from_domain | string | "altcraft.com" | If From domain equals.. |
to_domain | string | "gmail.com" | If To domain equals.. |