Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Signer model has emailNotification attribute #26

Closed
benoitbryon opened this issue Nov 7, 2014 · 2 comments
Closed

Signer model has emailNotification attribute #26

benoitbryon opened this issue Nov 7, 2014 · 2 comments

Comments

@benoitbryon
Copy link
Contributor

The emailNotification option for signers makes it possible to configure per-recipient email body, subject and language.
See reference at https://www.docusign.com/p/RESTAPIGuide/Content/REST%20API%20References/Recipients/Signers%20Recipient.htm

Important: even if in embedded signing mode (i.e. DocuSign does not send emails to recipients) language is used as the default to display DocuSign's user interface.
See http://stackoverflow.com/questions/26785088/embedded-docusign-signing-using-recipients-language

@benoitbryon
Copy link
Contributor Author

Given:

  • one recipient can have zero or one emailNotification
  • emailNotification attributes do not clash with recipient attributes

Proposal: flatten emailNotification attributes into Signer model.

Example:

  • strictly following DocuSign API: signer = pydocusign.Signer(emailNotification=pydocusign.EmailNotification(emailSubject='hello'))
  • merging emailNotification into Signer: signer = pydocusign.Signer(emailSubject='hello')

@benoitbryon
Copy link
Contributor Author

Given the following important notice in DocuSign's API:

[about emailNotification...]
If this is enabled for one recipient, it overrides the Envelope Subject and EmailBlurb. Also, you must enable emailNotification for all recipients.

Proposal:

  • when creating envelope,
  • if one signer has supportedLanguage, use it as a default value for all signers.
  • if envelope has emailBlurb or emailSubject, use them as default values for signer's emailBody and emailSubject.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant