Resolve Macro-Variables within mailattachment filename

Need new test, action, option? Post request here.
Post Reply
renbim
Posts: 8
Joined: Mon Jul 28, 2003 6:00 pm

Resolve Macro-Variables within mailattachment filename

Post by renbim »

Hi Alex,

we are using mail-notifications on alerts. The tests generate various files with further informations about their test-results.

I want to attach one or more of these detailed textfiles in case of an alert.

For that reason it will be great if AHM would resolve macrovariable and support wildcards within the attachmentfilename.

Best Regards
Rene
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Actually HostMonitor supports wildcards within the attachment filename. But it does not attach all files that match pattern, just 1st one.
H'm, macro variables? Do you want to specify name of the file within test properties (comment line)?

Regards
Alex
renbim
Posts: 8
Joined: Mon Jul 28, 2003 6:00 pm

Post by renbim »

KS-Soft wrote:Do you want to specify name of the file within test properties (comment line)?
Alex,
to use comment line is not sufficiently. It will be better to allow full flexibility - for example like

Code: Select all

c:\program files\hostmonitor\mailfiles\%TestName%_%YYYY-MM-DD%_errordetails.txt
Why do not allow all macro variable as well as "user defined variables" ?

Regards
Rene
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Ok. Probably in next version

Regards
Alex
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Done. Update available at www.ks-soft.net/download/hm477.zip

Regards
Alex
Post Reply