2022.2

Table Of Contents
l
ThecontentsofthePrintcontext,intheformofasinglePDFattachment.(Compressionoptions
forPDFattachmentscanbespecifiedintheEmailcontext'sproperties;see"CompressingPDF
attachments"onpage479.)
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.
See"Emailattachments"onpage489and"GeneratingEmailoutput"onpage1340.
Designing an Email template
WiththeDesigneryoucandesignEmailtemplates.Itisstronglyrecommendedtostartcreatingan
EmailtemplatewithanEmailTemplateWizard,becauseitischallengingtodesignHTMLemailthat
looksgoodonallemailclients,devicesandscreensizesthatcustomersusewhentheyarereading
theiremail.
ThistopicexplainswhydesigningHTMLemaildesignisaschallengingasitis,whichsolutionsare
usedintheEmailTemplateWizardsanditlistsgoodpractices,forexampleregardingtheuseof
imagesinHTMLemail.ItwillhelpyoutocreatethebestpossibleEmailtemplatesintheDesigner.
HTMLemailchallenges
CreatingHTMLemailisn'tlikedesigningfortheWeb.That'sbecauseemailclientsaren'tlikeweb
browsers.EmailclientspassHTMLemailthroughapreprocessortoremoveanythingthatcouldbedan-
gerous,introduceprivacyconcernsorcausetheemailclienttobehaveunexpectedly.Thisincludes
removingjavascript,objectandembedtags,andunrecognizedtags.Mostpreprocessorsareoverly
restrictiveandremoveanythingwiththeslightestpotentialtoaffectthelayoutoftheiremailclient.Next,
theHTMLhastoberenderedsothatitissafetoshowwithintheemailclient.Unfortunately,desktop,
webmail,andmobileclientsallusedifferentrenderingengines,whichsupportdifferentsubsetsof
HTMLandCSS.Moreoftenthannot,theresultoftheseoperationsisthattheycompletelybreakthe
HTMLemail'slayout.
DesigningHTMLemailinPlanetPressDesigner
TheproblemofHTMLemailisthatpreprocessingandrenderingenginesbreaktheHTMLemail'slay-
out.HTMLtables,however,aremostlyleftuntroubled.Astheyaresupportedbyeverymajoremailcli-
ent,theyareprettymuchtheonlywaytodesignHTMLemailsthatareuniversallysupported.That's
whyTablesareheavilyusedtopositiontextandimagesinHTMLemail.
Page 472