email_bounces
Creates, updates, deletes, gets or lists an email_bounces resource.
Overview​
| Name | email_bounces |
| Type | Resource |
| Id | ovh.hosting_web.email_bounces |
Fields​
The following fields are returned by SELECT queries:
- list
The volume history type
| Name | Datatype | Description |
|---|---|---|
date | string (date-time) | The datetime of this bounce |
is_spoofing | boolean | Whether this bounce is spoofing or not (wire: isSpoofing) |
message | string | The return message for this bounce |
to | string | The email where you have the bounce |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | limit, service_name | List email bounces. Returns the last bounces of the emails sent by the hosting: 20 by default, 100 at most with limit. |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
limit | integer | Maximum bounces limit ( default : 20 / max : 100 ) |
service_name | string | The internal name of your hosting (wire: serviceName) |
SELECT examples​
- list
List email bounces. Returns the last bounces of the emails sent by the hosting: 20 by default, 100 at most with limit.
SELECT
date,
is_spoofing,
message,
to
FROM ovh.hosting_web.email_bounces
WHERE limit = '{{ limit }}' -- required
AND service_name = '{{ service_name }}' -- required
;