I have the exact same issue after upgrading from xenial to bionic. I
have a script that does this:

mail --attach "$log_file" --subject "$subject" "$recipient" <
"$body_file"

It was working on xenial. After upgrading to bionic, I get a mail with
the attached file and an empty body.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1911894

Title:
  mail tool ignores body text from stdin if attachment is added

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/mailutils/+bug/1911894/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to