2022.2

Table Of Contents
Email context
IntheDesignertheEmailcontextisthefolderthatcontainsEmailtemplates.FromtheEmailcontext,
outputcanbegeneratedintheformofemail(seebelow).
WhenanEmailtemplateiscreated(see"CreatinganEmailtemplatewithaWizard"onpage154)or
whenanEmailcontextisaddedtoatemplate(see"Addingacontext"onpage110)thefollowinghap-
pens:
l
TheEmailcontextiscreatedandoneEmail sectionisaddedtoit.Youcanseethisonthe
Resourcespane:expandtheContextsfolder,andthenexpandtheEmailfolder.
See"Emailtemplates"onthefacingpagetolearnhowtofillanEmailsection.
AlthoughonlyoneemailcanbesentperrecordwhengeneratingEmailoutput,theEmailcontext
cancontainmultiplesections.OneEmailsectioniscreatedatthestart,butyoucanaddmore;
see"AddinganEmailtemplate"onpage159and"ImportinganEmailtemplate"onpage159.
l
Astylesheet,namedcontext_htmlemail_styles.css,isaddedtothetemplate.Dependingon
whichTemplateWizardwasusedtocreatethetemplate,anotherstylesheetcanbeaddedas
well.StylesheetsarelocatedinthefolderStylesheetsontheResourcespane.Thesestyle
sheetsaremeanttobeusedforstylesthatareonlyappliedtoelementsintheEmailcontext.
TheWizardopenstheEmailsection,sothatyoucanfillitwithtextandotherelements;see"Content
elements"onpage170and"Emailtemplates"onthefacingpage.
Sendingemail
Whenthetemplateisready,youcangenerateEmailoutput;See"GeneratingEmailoutput"on
page876.
Totestatemplate,youcansendatestemailfirst.Thisallowsyoutooverridetherecipientaddress.
Output,generatedfromanEmailtemplate,canhavethefollowingattachments:
l
ThecontentsofthePrintcontext,intheformofasinglePDFattachment.(Compressionoptions
forPDFattachmentscanbespecifiedintheEmailcontext'sproperties;see"CompressingPDF
attachments"onthefacingpage.)
l
Otherfiles,animageoraPDFleafletforexample.
AttachingthePrintcontextisoneoftheoptionsinthe"Send(Test)Email"onpage486dialog.
Note: TosplitthePrintcontextintomultipleattachments,andtorenamethistypeofattachment,
youneedtocreateaControlScriptthatspecifiesparts;see"Parts:splittingandrenamingemail
attachments"onpage402.
See"Emailattachments"onpage167.
Page 157