php - Trustpilot API not sending invitation e-mails -
we have application calling trustpilot api send out invitation e-mails customers can review recent orders.
creating review link etc. works correctly. however, when calling final step send out invitation e-mail, "status" field of response "notsent" , e-mail not sent.
the url https://invitations-api.trustpilot.com/v1/private/business-units/business_unit_id/invitations
the json response follows:
{ id: "<response id>", businessunitid: "<business unit id>", businessuserid: "<business user id>", recipient: { name: "<recipient name>", email: "<recipient email>" }, referenceid: "<order id>", templateid: "<default en-gb template code>", locale: "en-gb", sender: { email: "noreply.invitations@trustpilot.com", name: "<client name>" }, replyto: "noreply.invitations@trustpilot.com", createdtime: "2015-04-29t14:34:40.176727z", preferredsendtime: "2015-04-29t14:34:40.176727z", senttime: null, tags: [ ], redirecturi: "<trustpilot review url>", status: "notsent", source: "kickstart" }
we have not modified spf record client's domain, using noreply.invitations@trustpilot.com sender , reply-to addresses. additionally, have set preferred send time e-mail should sent straight away. nothing making difference.
can advise might doing wrong?
figured out - reply address specifying being rejected. though valid (or when tried using noreply.invitations...) - switched using 1 client has been using , started sending straight away after that.
Comments
Post a Comment