Ubuntu noob here, I want to send an email where I get subject from variable inside sh script, in script below notice subject variable. Mail is sent but the subject is "$subject" instead of SSH login
#!/bin/bash
##This script sends a message
subject="SSH Login:"
curl -s --user 'api:key-xxxxxxxxxxxxxxx' https://api.eu.mailgun.net/v3/adoptatias.com/messages -F from='Excited User <postmaster@mydomain.com>' -F to='mymail@gmail.com' -F subject='$subject' -F text='Detected succesfull SSH login'
exit 0;
what am I doing wrong?