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

Macro variables in attached files in email action

 
Post new topic   Reply to topic    KS-Soft Forum Index -> Wish list
View previous topic :: View next topic  
Author Message
Stoltze



Joined: 03 Feb 2004
Posts: 174
Location: Denmark

PostPosted: Wed Jul 22, 2009 11:21 am    Post subject: Macro variables in attached files in email action Reply with quote

Hi,

Coul it be possible to support macros in the filename in email action..?

Example:
I save AHM system log as %YYY-MM-DD% and searches for new lines with a test. If the finds new lines, it goes bad and send an email. If I could use variables, I could attach the system log to the mail.

Instead of as today, where I have to find the file manually afterwards..
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Wed Jul 22, 2009 11:37 am    Post subject: Reply with quote

This option was implemented about 4-5 years ago.
However there is no such variable %YYY%. You may use string like
%YY%-%MM%-%DD% or %YYYY%-%MM%-%DD%

Regards
Alex
Back to top
View user's profile Send private message Visit poster's website
Stoltze



Joined: 03 Feb 2004
Posts: 174
Location: Denmark

PostPosted: Wed Jul 22, 2009 11:50 am    Post subject: Reply with quote

KS-Soft wrote:
This option was implemented about 4-5 years ago.
However there is no such variable %YYY%.
I ment %YYYY%
KS-Soft wrote:
You may use string like
%YY%-%MM%-%DD% or %YYYY%-%MM%-%DD%
Hmm.. I think I tried with %YYYY-MM-DD%.htm which is the format I use under System Log settings..
Changed to %YYYY%-%MM%-%DD%.htm now.. And waiting for the email..
Back to top
View user's profile Send private message
Stoltze



Joined: 03 Feb 2004
Posts: 174
Location: Denmark

PostPosted: Thu Jul 23, 2009 11:14 am    Post subject: Reply with quote

Stoltze wrote:
KS-Soft wrote:
You may use string like
%YY%-%MM%-%DD% or %YYYY%-%MM%-%DD%
Hmm.. I think I tried with %YYYY-MM-DD%.htm which is the format I use under System Log settings..
Changed to %YYYY%-%MM%-%DD%.htm now.. And waiting for the email..
And yes, it only works with %YYYY%-%MM%-%DD%
(Which you allready knew.. )
Back to top
View user's profile Send private message
KS-Soft



Joined: 03 Apr 2002
Posts: 12795
Location: USA

PostPosted: Thu Jul 23, 2009 11:27 am    Post subject: Reply with quote

Great

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 -> Wish list 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