Docusign PHP SDK 使用模拟账户重新发送信封更新了信封但没有发送电子邮件

Docusign PHP SDK resending envelope with Demo Account updates the envelope but no email is sent

我正在尝试重新发送用户可能放错地方或未收到的现有信封。 API 正在用请求更新信封,但没有重新发送电子邮件。我收到来自 api 的 200 OK 响应。这是我的电话;

$envelopeApi->update($account_id, $env_id, json_encode([resend_envelope => true]));

日志显示调用成功;

PUT https://demo.docusign.net:7801/restapi/v2/accounts/eb84945a-xxxx-xxxx-xxxx-125dae50be01/envelopes/1e748673-xxxx-xxxx-xxxx-d932f6bdb90e
Content-Type: application/json
Content-Length: 24
Transfer-Encoding: chunked
Accept: application/json
Authorization: Bearer [omitted]
Host: demo.docusign.net
User-Agent: Swagger-Codegen/2.0.1/php
X-DocuSign-SDK: PHP
X-SecurityProtocol-Version: TLSv1.2
X-SecurityProtocol-CipherSuite: ECDHE-RSA-AES256-GCM-SHA384
x-forwarded-for: 

{"resend_envelope":true}

200 OK

Content-Type: application/json; charset=utf-8
Content-Length: 60
X-DocuSign-TraceToken: 3f4d4386-xxxx-xxxx-xxxx-ede4199f7f35

{
  "envelopeId": "1e748673-xxxx-xxxx-xxxx-d932f6bdb90e"
}

我已经阅读了在 SO 上可以找到的所有主题,none 似乎涵盖了我的经验。将不胜感激。

对于遇到此问题的任何人post,这是使用开发支持提供的 PHP SDK v2 重新发送信封的方法。很遗憾 SDK 没有更好的文档记录。

$options = new DocuSign\eSign\Api\EnvelopesApi\UpdateOptions();
$options ->setResendEnvelope("True");
$results = $envelopeApi->update(self::$accountID, $envelopeid, "{}", $options);

感谢 Edwin@DS