×
Back to Geneos FAQ
How to include current date in email subject line when using libemail.so
In the Rule block, add the following: set $(DATE) printDate("%d %B %Y", now()) userdata “CURRENT_DATE” $(DATE)
In Action, you can define “%(CURRENT_DATE)” as part of the subject
Under static parameters:
The same can also be used within the email body, under _FORMAT.
***The DATE and CURRENT_DATE variables are user defined. ***The format of the date is defined within the printDate function. ***The userdata definition must be within the rule block’s “if” statement.
["Geneos"]
["FAQ"]