Automatically email the evidence.pdf once signing completes
Friday, June 3, 2022 at 08:31amI know how to retrieve the evidence pdf with the below code:
byte[] evidenceContent = eslClient.downloadEvidenceSummary(packageId);
Files.saveTo(evidenceContent, "evidence.pdf");
But don't know how to let OSS to automatically email the singers the evidence.pdf once the signing is completed. My below code just attached the complete document pdf to the email, the evidence pdf was not attached. Thanks for your help!
apiClient = new EslClient(ApiTokenConfig.newBuilder()
.clientAppId(username)
.clientAppSecret(password)
.baseUrl(baseUrl)
.tokenType(TokenType.OWNER).build(),
baseUrl + "/api", false, null, false, new HashMap<String, String>());
apiClient.getAccountConfigService()
.getAccountFeatureSettings()
.setEmailDocumentsAndEvidenceSummary(true);
...
documentPackage.addSigner(SignerBuilder
.newSignerWithEmail(emailAddress)
.deliverSignedDocumentsByEmail()
.withFirstName(fname)
.withLastName(lname)
.signingOrder(signingOrder)
.build());
Reply to: Automatically email the evidence.pdf once signing completes
Friday, June 3, 2022 at 09:00amHi Jianping,
This is because in normal scenarios, the evidence summary won't be delivered to external signers (especially if there are sensitive information about other signers). If you want to implement the function, you may have to deliver the file via your own email service.
Duo
Reply to: Automatically email the evidence.pdf once signing completes
Friday, June 3, 2022 at 09:03amGot it. Thank you Duo!