Hi, if i want to send an email, how do i attach th...
# suitescript
r
Hi, if i want to send an email, how do i attach the email template to that email? i have a template i am using email.send({                   author: fromEmailOnEmailRec,                   body: emailTempOnEmailRec,                   recipients: contactIdOnEmailRec,                   subject: 'Scheduled Script Test Email',                   attachments: [pdffileTemplate]               }); i have set the body to 'emailTempOnEmailRec' internal id, this is not right. can anybody help please?
b