On Sun, Apr 3, 2016 at 8:48 PM, Christian Ebert <blacktr...@gmx.net> wrote: > * Xu Wang on Sunday, April 03, 2016 at 19:38:41 -0400 >> Unfortunately, >> mutt -H - < email_file >> does not work when email_file has embedded attachments. To see this >> use mutt to write an email, attach two PDF files, and then use the >> above command on that email file. >> >> Send the email to yourself. You should see that the attachments were >> not sent correctly. >> >> Is this a bug or is this a known limitation to mutt -H? > > The manual knows it: > > -H draft > Specify a draft file which contains header and body > to use to send a message. > > Header and body, not attachment - for the latter you need the -a > option.
Oh good to know! But I thought attachment is encoded in base64 into the body, no? Kind regards, Xu