email template name
the request input parameters.
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
}
Send a system email and wait for response