Cant send email with html body and attachment
Solution 1:
I don't know which mail tool you are using (and which version) but if it is GNU mailutils you probably run into this bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=918806#22 A workaround is to use command line option -M (or --mime) to compose MIME messages.