Im trying to use the FCommentLine macro insude an email template subject. I also apend a few other macros. The FCommentLine contains the location name for the entire folder.
When the email is sent only the FCommentLine resolves in the subject.
If I place the FCommentLine at the end of the subject line after the other macros then all the macros resolve correctly.
It does not wont work when placed at the beginning where I would like it.
When the realtime email window pops up, you can see the subject line. What I can see is all the macros set for the folder resove even though I only specify one FCommentLine. So the pop up subject will look like this with the macros FCommentLine and FCommentLine2 are jammed together.
Data Centeradmin@domain.com
I know the macro is not in the list but it works sort of.
Regards
FCommentLine Issue @ Bginning of Email Subject
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
FCommentLine Issue @ Bginning of Email Subject
What HostMonitor version do you use ?
There is no %FCommentLine% variable.
Folder comments can be retrieved, using two kinds of macro-variables:
- %FolderComment% represent entire folder's comment (comment lines separated by CRLF)
- %FCommentLineNN% (%FCommentLine1%, %FCommentLine2%, %FCommentLine3% e.t.c) returns a line #NN of a folder`s comment
I think, you should use %FCommentLine1% macro-variable in e-mail subject.
All Folder-related macro variables you may find at:
http://www.ks-soft.net/hostmon.eng/mfra ... oldermacro
There is no %FCommentLine% variable.
Folder comments can be retrieved, using two kinds of macro-variables:
- %FolderComment% represent entire folder's comment (comment lines separated by CRLF)
- %FCommentLineNN% (%FCommentLine1%, %FCommentLine2%, %FCommentLine3% e.t.c) returns a line #NN of a folder`s comment
I think, you should use %FCommentLine1% macro-variable in e-mail subject.
All Folder-related macro variables you may find at:
http://www.ks-soft.net/hostmon.eng/mfra ... oldermacro