Hi Daniel,

> Are you aware of this report in debian about mail discarding stdin when
> being used to send an e-mail with an attachment?
> 
>     https://bugs.debian.org/918806

Thanks for reporting. I fixed it in 43214185092e714e0c233bf196f571bba5c17be0.

Meanwhile, you can use the --mime option as a workaround:

 echo "body text" | /usr/bin/mail --mime -s "some subject" -A "somefile.csv" 
m...@email.com

Regards,
Sergey

Reply via email to