2022.2

Table Of Contents
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566and"Emailtemplates"onthefacingpage.
Sendingemail
Whenthetemplateisready,youcangenerateEmailoutput;See"GeneratingEmailoutput"on
page1340.
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"below.)
l
TheoutputoftheWebcontext,asaself-containedHTMLfile.
l
Otherfiles,animageoraPDFleafletforexample.
AttachingthePrintcontextand/ortheWebcontextisoneoftheoptionsinthe"Send(Test)Email"on
page935dialog.
TheseoptionsarealsoavailableintheCreateEmailContenttaskinWorkflow.
Note: TosplitthePrintcontextintomultipleattachments,ortoattachmultipleWebsectionsas
separateattachments,andtorenamethistypeofattachment,youneedtocreateaControlScript
thatspecifiesparts;see"Parts:splittingandrenamingemailattachments"onpage843.
See"Emailattachments"onpage489.
Emailoutputsettings
ThefollowingsettingsinanEmailcontextinfluencehowtheEmailoutputisgenerated.
Compressing PDF attachments
ForPDFattachments,generatedfromthePrintcontext,youcansetthePrintContextImageCom-
pressiontodeterminethequalityofthefiles,andwiththat,thesizeofthefiles.
TosetthePrintContextImageCompression:
Page 479