Whenever I attach a file to mail like:

$ mail -A attachment.pdf -s"Subject" id@domain.com
This body never gets sent.

And hit Ctrl+d to send the mail. The attachment and the subject get sent, but the body remains blank.

Everything works fine when I send an email without an attachment. I don't understand where I am going wrong. I'm running Ubuntu 18.04.

  • 1
    @K7AAY is this a ubuntu specific problem? I don't know.. – Sourit Chakraborty May 28 at 18:40
  • Sure doesn't happen with my Debian – K7AAY May 28 at 18:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.