Fix: issue of showing 'Please add Signers or Roles in template' even when roles are already exist in quick send

This commit is contained in:
prafull-opensignlabs
2024-05-27 12:59:43 +05:30
parent c3c6f6bab3
commit facbc8e76e
2 changed files with 2 additions and 0 deletions
@@ -48,6 +48,7 @@ async function sendMail(document, sessionToken) {
extUserId: document.ExtUserPtr.objectId,
recipient: objectId ? signerMail[i].signerPtr.Email : signerMail[i].email,
subject: `${document.ExtUserPtr.Name} has requested you to sign "${document.Name}"`,
mailProvider: document?.ExtUserPtr?.active_mail_adapter || '',
from: sender,
html:
"<html><head><meta http-equiv='Content-Type' content='text/html; charset=UTF-8' /> </head> <body> <div style='background-color: #f5f5f5; padding: 20px'> <div style='box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;background: white;padding-bottom: 20px;'> <div style='padding:10px 10px 0 10px'><img src='" +