KS-Soft. Network Management Solutions
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister    ProfileProfile    Log inLog in 

FCommentLine Issue @ Bginning of Email Subject

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports
View previous topic :: View next topic  
Author Message
xcentric



Joined: 23 Oct 2010
Posts: 176

PostPosted: Mon Jun 13, 2011 3:37 am    Post subject: FCommentLine Issue @ Bginning of Email Subject Reply with quote

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
View user's profile Send private message
KS-Soft Europe



Joined: 16 May 2006
Posts: 2832

PostPosted: Mon Jun 13, 2011 6:30 am    Post subject: FCommentLine Issue @ Bginning of Email Subject Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website
xcentric



Joined: 23 Oct 2010
Posts: 176

PostPosted: Mon Jun 13, 2011 8:25 am    Post subject: Reply with quote

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
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12791
Location: USA

PostPosted: Mon Jun 13, 2011 11:59 am    Post subject: Reply with quote

No problem

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    KS-Soft Forum Index -> Bug reports All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

KS-Soft Forum Index