0 Replies Latest reply on May 23, 2017 2:05 PM by andersenj

    Environmental variable syntax for mail client subject line

    andersenj New Member



      I am creating a mail-client config that will perform hourly show commands and generate an email. The "subject" command under mail-client indicates that is supports environmental variables, but I cannot find any documentation on the web or on the device to tell me the syntax for those variables.


      Ultimately, I would like to populate a timestamp at the beginning of my email subject. Can anyone tell me how this can be done?


      Current config:


      mail-client top-talkers-hourly

        address to user@domain.com

        subject Top-Talkers Hourly

        capture commands

          do show ip flow top-talkers hour detail

          do show clock


        send trigger track weekdays-hourly pass

        no shutdown


      Router(config-mail-client-top-talkers-hourly)#subject ?

      WORD                   - Subject (environment variables supported)