send email in vugen if transaction fails


Hi

I am capturing the transaction result code and then need to send an email if result is LR_FAIL.

We already have this as a vb.exe or vbscript file for smtp server. Can this be called from vugen directly?