Variable | Type | Description |
---|---|---|
list_id | string|int | The list_id for which the test is made |
html | string | The html content |
text | string | The text alternative |
emails | struct|array | Array with emails (recipients of the test) |
subject | string | The subject for the test |
Parameter | Description |
---|---|
boolean | True if the send has succeeded, False otherwise |
true
Code | Message | Description |
---|---|---|
407 | Missing required param list_id | list_id param is required |
407 | Missing required param html | html param is required |
407 | Missing required param text | text param is required |
407 | Missing required param emails | emails param is required |
407 | Missing required param subject | subject param is required |
101 | Not allowed for list_id = %s | Invalid access to list_id |
1315 | Emails not valid | Not all emails are valid |
1315 | A maximum of 5 emails is allowed | A maximum of 5 emails is allowed |
1315 | An email is not valid | Not all emails are valid |
1315 | Either html or text must not be empty | Either html or text must not be empty |
1317 | List from email is not validated | The from email must be on a valid domain |
{ "err": true, "message": "Missing required param list_id", "code": 407 }
{ "err": true, "message": "Missing required param html", "code": 407 }
{ "err": true, "message": "Missing required param text", "code": 407 }
{ "err": true, "message": "Missing required param emails", "code": 407 }
{ "err": true, "message": "Missing required param subject", "code": 407 }
{ "err": true, "message": "Emails not valid", "code": 1315 }
{ "err": true, "message": "A maximum of 5 emails is allowed", "code": 1315 }
{ "err": true, "message": "An email is not valid", "code": 1315 }
{ "err": true, "message": "Either html or text must not be empty", "code": 1315 }
{ "err": true, "message": "List from email is not validated", "code": 1317 }