2022.2

Table Of Contents
Note: Stylesheetsthatarelinkedto(i.e.includedin)asectionshowachainiconinthe
Resourcespane(see"Resourcespane"onpage978).
SettingadefaultEmailtemplateforoutput
AnEmailcontextcancontainmultipletemplates.WhengeneratingoutputfromtheEmailcontext,how-
ever,onlyoneoftheEmailtemplatescanbemergedwitheachrecord.
ToselecttheEmailsectionthatwillbeoutputbydefault:
l
OntheResourcespane,expandtheEmailcontext,right-clickasectionandclickSet as
Default.
Bydefault,theCreateEmailContenttaskinWorkflowselectsthedefaultEmailsectionwiththe
data(seeWorkflowHelp:CreateEmailContent).
UseaControlScripttodynamicallyselectanEmailsectionforoutputdependingonthevalueof
adatafield.
Email header settings
Anemailheadercontainsroutinginformation,suchasthesender,recipient/sandsubjectofthemes-
sage.ThistopicexplainshowtocustomizetheheaderofanemailthatisgeneratedfromanEmailtem-
plate.
ThedefaultEmailSMTPsettingsandthesender'snameandaddressaredefinedintheConnect
Designerpreferences(see"Emailpreferences"onpage793).Theycanbeadjustedperruninthe
SendEmailandSendTestEmaildialogs.
EmailFields
Thesubject,therecipients(To,CcandBcc),thesenderandtheReply toaddresscanbeenteredin
theEmail Fieldsatthetopoftheworkspace.Ifthefieldsarenotvisible,clickthewords'EmailFields'
(orthesmallplusbeforethem)toexpandtheEmailFieldsarea.
Touseavariableemailaddressinanyofthefields,simplydrag and dropadatafieldintotheemail
field.
ThespecifiedsubjectandaddresseswillbevisiblewhenviewingtheemailintheworkspaceinPreview
mode.
TheToaddressmustalwaysbevariable.Thisfieldisnotusedwhenyousendatestemail(see"Gen-
eratingEmailoutput"onpage1340).
Note: Usingavariableemailaddressrequiresyoutoloaddataoradatamappingconfiguration
first;see"Loadingdata"onpage710.
Page 483