MessageHeader |
|
Description
Retrieves the value of an email message header (if found) for the message that triggered the impeller for a job.
Arguments
1.MessageHeader - Name of the Macro.
2.Header Name - The name of the message header to extract. No conversions or formatting will occur. Common Message Headers include (but are not limited to):
•Date
•To
•From
•Subject
•Importance
•Priority
3.Default Value - The optional default value to use if the header name specified is not present on the message. If not supplied a blank value will be emitted.
Examples
<MessageHeader|Subject>
Returns the value of the Subject header if present. If not present nothing is returned.
<MessageHeader|X-Priority|1>
Returns the value of the X-Priority header if present. If not present a value of 1 is returned.
Notes
If the job is not activated by a message impeller the job step will fail.
Copyright © 2024 pasUNITY, Inc.
Send comments on this topic.
Created with an evaluation copy of HelpSmith.
To remove this notice, you should purchase the full version of the product.