I want to send a mail with attachment from linux command line using sendmail utility.
Here's the command, I am running from terminal on linux machine.
sendmail -f ru@gmail.com -t sm67@gmail.com -m "testing the attachement using sendmail unix" -a AnnualReport.docx
But this command is not sending mail. Can someone share the appropriate command. I have to use sendmail utility only.