Skip to main content

email_bounces

Creates, updates, deletes, gets or lists an email_bounces resource.

Overview​

Nameemail_bounces
TypeResource
Idovh.hosting_web.email_bounces

Fields​

The following fields are returned by SELECT queries:

The volume history type

NameDatatypeDescription
datestring (date-time)The datetime of this bounce
is_spoofingbooleanWhether this bounce is spoofing or not (wire: isSpoofing)
messagestringThe return message for this bounce
tostringThe email where you have the bounce

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectlimit, service_nameList 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.

NameDatatypeDescription
api_hoststringThe 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"}})
limitintegerMaximum bounces limit ( default : 20 / max : 100 )
service_namestringThe internal name of your hosting (wire: serviceName)

SELECT examples​

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
;