Which IIQ version are you inquiring about?
8.1p3
Share all details about your problem, including any error messages you may have received.
Hello Forum,
I am working on email templates for certifications and my body consists of basic dynamic values like $ownerName , $expiration etc basic values.
I am able to generate emails via rule using below
EmailOptions options = new EmailOptions(toAddress, null);
template.setBody("Test Email");
template.setSubject("Certification Email Template test") ;
//options.setSendImmediate(true);
context.sendEmailNotification(template, options);
But i am not able to test the dynamic values in the body. The Certificate only triggers alters after 1 days. There is no option to sends alerts immediately to test the template.
#if($expiration)
#if($expiration.getTime() > $nowDate.getTime())
is due on $spTools.formatDate($expiration,3,1).
#{else}
was due on $spTools.formatDate($expiration,3,1).
#{end}
#{else}
was due on $spTools.formatDate($oldDueDate,3,1).
#{end}
Please guide me on thtesting the template with dynamic values and dates, thanks