cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1415
Views
0
Helpful
3
Replies

Passing the device name in the Email Automated Action -

getwithrob
Level 3
Level 3

I can pass the syslog message and the device name in the body of the email that gets generated by the sample email perl script that comes with RME. I really need to be able to pass the device name in the subject of the email. I tried a couple of things but was unsuccessful. Has anyone done this? If so, how?

1 Accepted Solution

Accepted Solutions

nhabib
Level 9
Level 9

You need to pass the following: -subject $D

View solution in original post

3 Replies 3

nhabib
Level 9
Level 9

You need to pass the following: -subject $D

This worked. I was also able to put a little more text like -subject AstroErrorfrom-$D .

I could've swore I tried this before but obviously didn't do something right.

Thanks.

I think you can also try putting it between double quotes:

-subject "Astro Error from $D"