For transactional mails (trigger mails) it is possible to set a flag called “Ignore Permission”. If this flag is set to “true”, the mail will be sent to a contact, even if the contact has no newsletter permission given. This property must only be set to mails that contain no advertisements and need to be sent in all cases, like order confirmations, invoices, and the like.
1 |
GET https://api.maileon.com/1.0/mailings/:mailingid/settings/ignorepermission |
Response
HTTP status code | Description |
---|---|
200 OK |
If everything was ok. |
404 Not found |
Mailing ID cannot be found or property is not available |
Example
200 OK
1 2 |
GET https://api.maileon.com/1.0/mailings/1234/settings/ignorepermission 200 |
1 |
<ignore_permission>true</ignore_permission> |
404 Not Found
1 2 3 |
GET https://api.maileon.com/1.0/mailings/3416/settings/ignorepermission 404 Mailing with id 3416 not found. |