$ mail --version
mail (GNU Mailutils) 3.10-11 [release-3.10-11-g3cab87f05]

command:

$ mail -s Hello -E "set sendmail=\"sendmail:/home/admin/bin/sendmail\"" 
--alternative --content-name HTML --content-type=text/html -A 
/dev/shm/html-file --content-name TEXT --content-type=text/plain 
s...@example.com < text

mutt:
  I     1 <no description>              [multipa/alternativ, 7bit, 31K] 
  I     2 ├─><no description>           [text/plain, 7bit, utf-8, 0.1K] 
  I     3 └─>HTML                       [text/html, base64, utf-8, 31K]

With this version I can the name for HTML part. Name is missing for
TEXT part. But I remember it worked once in earlier version, now I am
confused.

Should it work if text part is taken from standard input?

Jean


Reply via email to