| Variabila | Tip | Descriere |
|---|---|---|
| list_id | int|string | ID-ul listei pe baza căreia va fi identificat contul SMTP |
| account_id | string|boolean | ID-ul unui anumit cont SMTP din care să se preia template-urile (opțional). |
| Parametru | Descriere |
|---|---|
| array | array conținând o listă cu template-uri pentru acest cont |
{ "test_html_tpl": { "content": "<html>\n <body>\n The start content here<br\/>\n\n {{specific_id}}<\/body>\n<\/html>", "type": "html", "props": null } }
| Cod | Mesaj | Descriere |
|---|---|---|
| 407 | Missing required param list_id | Parametrul list_id este obligatoriu |
| 101 | Not allowed for list_id = %s | Acces nepermis la list_id |
| 17001 | Invalid message | Valoarea parametrului message este invalidă |
| 17003 | Could not find the SMTP account | Nu a fost găsit contul SMTP |
| 17004 | The SMTP account is inactive | Contul SMTP este inactiv |
{ "err": true, "message": "Missing required param list_id", "code": 407 }
{ "err": true, "message": "Could not find the SMTP account", "code": 17003 }
{ "err": true, "message": "The SMTP account is inactive", "code": 17004 }