Hey All.
I'm quite new to the scripting side of router os.
I would like an email to be sent with the subject of that email being link is up at time xxxx.
then the body of the email to have the log file attached or printed.
currently, my script is as follows.
on the up
:global myVarDownTime
:log error "WAN link is up."
/tool e-mail send to="My Email address" subject="$[/system identity get name] WAN Link is up on $[/system clock get time]."
this works perfectly and am receiving the email however when I try to add the log file the email will not send and no error message is reported
any help would be appreciated.