View previous topic :: View next topic |
Author |
Message |
Stoltze
Joined: 03 Feb 2004 Posts: 174 Location: Denmark
|
Posted: Wed Jul 22, 2009 11:21 am Post subject: Macro variables in attached files in email action |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Wed Jul 22, 2009 11:37 am Post subject: |
|
|
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 |
|
|
Stoltze
Joined: 03 Feb 2004 Posts: 174 Location: Denmark
|
Posted: Wed Jul 22, 2009 11:50 am Post subject: |
|
|
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 |
|
|
Stoltze
Joined: 03 Feb 2004 Posts: 174 Location: Denmark
|
Posted: Thu Jul 23, 2009 11:14 am Post subject: |
|
|
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 |
|
|
KS-Soft
Joined: 03 Apr 2002 Posts: 12795 Location: USA
|
Posted: Thu Jul 23, 2009 11:27 am Post subject: |
|
|
Great
Regards
Alex |
|
Back to top |
|
|
|