Send email

Is there a way to send a email over api getting the identity name of the router?

like this???
in the script runs, some way in api

/tool/e-mail/send =to=eds@gmail.com =subject=[/system/identity/print] =body=“teste de email” =tls=yes

or i need send the identity get the value, then send the email?

Tks

you have to get router identity beforehand. and then insert it in the email command.

You can only send one command at a time.