Adds or sets a header value to the email or any of its parts.

Allowed within <email:email> or <email:bodypart> tags.

Tag Information

Tag Class: com.newmediaworks.taglib.email.HeaderTag
TagExtraInfo Class: None
Body Content: scriptless
Display Name: None


Name Required Evaluation Type Description
name Yes Runtime String

The name of the header.

value No Runtime String

Provides the header value. When provided, the body is not invoked. When not provided, the body content trimmed will be used as the value.

replace No Runtime boolean

When true (the default), any existing headers will be replaced.

When false, the header will be added to any existing values.


No Variables Defined.