#BLOCK("WITH_FORM_ERROR",#FormError)
#IF(#FormError) #LOOP(#FormErrors.Errors)
#IF(#Reason EQ "TLE_ERROR")

{TLESyntaxError}

#ELSE

{InputError}

{PleaseCorrectErrors} #ENDIF
#REM #ENDREM #ENDLOOP #ELSE #IF(NOT #Shop.MailFrom)

{InsertSenderAddressFirst}

#REM #ENDREM #ENDIF #IF(#EmptySubject)

{Attention}

{EmptySubject}
#REM #ENDREM #ENDIF #ENDIF #LOCAL("LocalMailTypeTemplateDescription", #MailTypeTemplate.Description) #IF(#MailTypeTemplate.UnityDescription) #SET("LocalMailTypeTemplateDescription", #MailTypeTemplate.UnityDescription) #ENDIF #IF(#LocalMailTypeTemplateDescription)
{Usage}: #LocalMailTypeTemplateDescription
#REM #ENDREM #ENDIF #ENDLOCAL
#IF(NOT #MailTypeTemplate.IsAlwaysActive) #ENDIF
#IF(NOT #DEFINED(#BCC) AND NOT #DEFINED(#CC)) #ENDIF
{From} {Edit} {DMARCWarning} {Example}: info@mywebsite.com #REM #ENDREM
{To} #IF(#MailTypeTemplate.HasToField) {Edit} #ELSE {UsersEmailAddress} #ENDIF
{Copy} / {BlindCopy}
{Copy} {Edit}
{BlindCopy} {Edit}
{Subject} #IF(#MailTypeTemplate.HasSubject) #ELSE {IsProvidedByUser} #ENDIF #SNIPPET("INC-I18n-Tooltip", "AttributeName", "Subject") #IF(#MailTypeTemplate.HasSubject AND #HAS_PLACEHOLDERS){InsertPlaceholder}#ENDIF
#ENDBLOCK