Function sendSyncEmail

  • Send a system email and wait for response

    Parameters

    • template: string

      email template name

    • input: Dict

      the request input parameters.

    Returns Dict

    Example


    import * as sys from 'sys';
    function testSend() {
    let map = {
    "body":"email content",
    "subject": "email subject",
    "address": "address email",
    "cc": "", //optional
    "bcc": "" //optional
    }
    sys.sendSyncEmail('template-name', map) // send with template
    }