Macro variables in attached files in email action

Need new test, action, option? Post request here.
Post Reply
User avatar
Stoltze
Posts: 174
Joined: Tue Feb 03, 2004 1:58 am
Location: Denmark

Macro variables in attached files in email action

Post by Stoltze »

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.. :)
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

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
User avatar
Stoltze
Posts: 174
Joined: Tue Feb 03, 2004 1:58 am
Location: Denmark

Post by Stoltze »

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.. :)
User avatar
Stoltze
Posts: 174
Joined: Tue Feb 03, 2004 1:58 am
Location: Denmark

Post by Stoltze »

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.. :) )
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Great :)

Regards
Alex
Post Reply