View previous topic :: View next topic |
Author |
Message |
xcentric
Joined: 23 Oct 2010 Posts: 176
|
Posted: Mon Jun 13, 2011 3:37 am Post subject: FCommentLine Issue @ Bginning of Email Subject |
|
|
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 |
|
Back to top |
|
|
KS-Soft Europe
Joined: 16 May 2006 Posts: 2832
|
Posted: Mon Jun 13, 2011 6:30 am Post subject: 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/mframe.htm#actions.htm#foldermacro |
|
Back to top |
|
|
xcentric
Joined: 23 Oct 2010 Posts: 176
|
Posted: Mon Jun 13, 2011 8:25 am Post subject: |
|
|
You are right once again. I should have caught that.
I was using FolderComment instead of FCommentNN. It does work. I am a bad bad man.
Regards |
|
Back to top |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12807 Location: USA
|
Posted: Mon Jun 13, 2011 11:59 am Post subject: |
|
|
No problem
Regards
Alex |
|
Back to top |
|
|
|