I am trying to send mail from a remote computer(Linux) over SSH using paramiko using the mail
command. The exact command is
stdin,stdout,stderr=ssh_client.exec_command("echo "$email_body">email.txt")`
I get a invalid syntax error at the $
. What's wrong here?