I'm successfully working with Docusign Connect, but I would really like to see a status notification when Docusign is unable to deliver an email to one of the recipients specified in an envelope. Is this possible?
2 回答
在您的连接配置设置中(在 DocuSign Web 控制台中),选中“收件人事件”部分中的收件人传递失败复选框:
选择此设置后,如果/当 DocuSign 收到它发送给收件人的电子邮件的“退回”时,将生成一条连接消息。Connect 消息中的收件人状态将为“ AutoResponded ”,并且AutoRespondedReason元素将包含有关导致退回的 SMTP 错误的信息。例如:
<DocuSignEnvelopeInformation xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.docusign.net/API/3.0">
<EnvelopeStatus>
<RecipientStatuses>
<RecipientStatus>
<Type>Signer</Type>
<Email>ztest12344587@gmail.com</Email>
<UserName>zBob Jones</UserName>
<RoutingOrder>1</RoutingOrder>
<Sent>2013-11-12T15:17:18.39</Sent>
<DeclineReason xsi:nil="true" />
<AutoRespondedReason>smtp; 550-5.1.1 The email account that you tried to reach does not exist. Please try 550-5.1.1 double-checking the recipient's email address for typos or 550-5.1.1 unnecessary spaces. Learn more at 550 5.1.1 http://support.google.com/mail/bin/answer.py?answer=6596 jz3si1128044obb.16 - gsmtp</AutoRespondedReason>
<Status>AutoResponded</Status>
<RecipientIPAddress />
<AccountStatus>Active</AccountStatus>
<RecipientId>18e43ddd-d88a-45c8-8d50-5018850ea31a</RecipientId>
</RecipientStatus>
</RecipientStatuses>
...
</EnvelopeStatus>
</DocuSignEnvelopeInformation>
注意:“收件人投递失败”事件(以及随后的状态为“自动回复”的连接消息)仅在为 DocuSign 帐户禁用“代表发送电子邮件”设置时使用。(禁用是此设置的默认值,因此您在这里应该没问题 - 如果您想验证或更改该设置,必须由拥有 DocuSign 的人为您完成...您无法通过 DocuSign 网络进行设置控制台管理界面。)
DocuSign Connect 不会为收件人电子邮件地址(例如test@example.com )发送 Recipient Delivery Failed 。但是,它确实会向帐户所有者发送一封电子邮件,主题为DocuSign 电子邮件传递状态通知(失败),正文包含:
X-Postfix; delivery temporarily suspended: connect to
example.org[93.184.216.119]:25: Connection timed out
因此,帐户所有者将收到一封电子邮件,但 DocuSign Connect 不会发送状态更新。
使用诸如 never@gonnawork.us 之类的充分无法投递的地址会导致 DocusignConnect 状态更新。