All Downloads are FREE. Search and download functionalities are using the official Maven repository.

home.process.emailer.json Maven / Gradle / Ivy

There is a newer version: 1.10.2
Show newest version
{
    "host":"${smtp.host}",
    "port":"25",
    "username":"${admin.email}",
    "password":"",
    "tls":"true",
    "ssl":"true",
    "notifyNewSubmission" : [             
        {
          "from":"${admin.email}",
          "to":"$piEmail",
          "subject":"Request submission acknowledgement: '$title'",
          "body":"$fname $lname,\n\nThis email acknowledges your request: '$title'. To view your request, use this link: ${server.url.base}$viewId/detail/$oid \n\nCheers,\nRequest Notifier",
          "vars":[
              "$oid",
              "$title",
              "$fname",
              "$lname",        
              "$viewId",
              "$piEmail"
          ],
          "mapping": {
              "$oid":"id",
              "$title":"dc_title",
              "$lname":"requester:familyName",
              "$fname":"requester:givenName",        
              "$viewId":"viewId",
              "$piEmail":"requester:email"
          }
      },
      {
          "from":"${admin.email}",
          "to":"${admin.email}",
          "subject":"Approval needed - New Request submission: '$title'",
          "body":"Reviewer,\n\nA new submission is waiting for your approval: '$title'. To view this request, use this link: ${server.url.base}$viewId/detail/$oid \n\nCheers,\nRequest Notifier",
          "vars":[
              "$oid",
              "$title",
              "$viewId"              
          ],
          "mapping": {
              "$oid":"id",
              "$title":"dc_title",
              "$viewId":"viewId"
          }
      }
    ],
    "notifyApproval" : [             
        {
          "from":"${admin.email}",
          "to":"$piEmail",
          "subject":"Request approved: '$title'",
          "body":"$fname $lname,\n\n Your request: '$title' has been approved. To view your request, use this link: ${server.url.base}$viewId/detail/$oid \n\nCheers,\nRequest Notifier",
          "vars":[
              "$oid",
              "$title",
              "$fname",
              "$lname",        
              "$viewId",
              "$piEmail"
          ],
          "mapping": {
              "$oid":"id",
              "$title":"dc_title",
              "$lname":"requester:familyName",
              "$fname":"requester:givenName",        
              "$viewId":"viewId",
              "$piEmail":"requester:email"
          }
      },
      {
          "from":"${admin.email}",
          "to":"${admin.email}",
          "subject":"Request '$title' has been approved.",
          "body":"Admin,\n\nA request has been approved: '$title'. To view this request, use this link: ${server.url.base}$viewId/detail/$oid \n\nCheers,\nRequest Notifier",
          "vars":[
              "$oid",
              "$title",
              "$viewId"              
          ],
          "mapping": {
              "$oid":"id",
              "$title":"dc_title",
              "$viewId":"viewId"
          }
      }
    ]    
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy