sending mutlipart/mixed draft file

Olaf Hering via Mutt-dev <[email protected]>
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
I would like to relay the body of an existing email, which should be
ready to use with its 'multipart/mixed;boundary="_something_";' container.
So I created a draft file for the -H option with headers MIME-Version,
Content-Type, Content-Disposition and the ready-to-use body. But for
some reason there is a call to mutt_remove_multipart_mixed in
mutt_prepare_template, and as a result there is data loss in the mail.
(I think this is the reason why it does not work)

I wonder what the rationale for that is? The commit messages from 2019
mean nothing to me.

Should there be a way for a user to prepare an email upfront and let mutt
just add From/To/Date/Message-Id etc as needed to the mail and be done with
it? I think things might become tricky if the mails are automatically
signed and/or encrypted. But that would be the responsibility of the user
to provide a suitable muttrc for sending from command line.


Olaf
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAEBCAAdFiEE97o7Um30LT3B+5b/86SN7mm1DoAFAmmYWLMACgkQ86SN7mm1
DoCZDBAAlYasTAvJFGObmrHKpsryfgwMYfaG3j1WmGfm/Cb04PYUZvJBlaHDaLF1
wMeruFF7egxs/x7zUEP1bT5lbyYb3+ix9oCTkRitvXEdx6VpTP63zp8LFLddKDlq
4NvQQQ+lqgpezWNBisR0owwZRxvmytugu97/JsccVsHYQX8sVRWEPvGUk+Jxrahv
IJxpJ4OA54G8JzEeT6sh8IPnj2+dntgUgHwkuR8bdOxc2BhHTOqVz4qsc2qHZaF0
hguCmU3pgGXiY+PjOMYgh4O21Yrr/DAwbCYSArqA6AoE35kHCsGG2mb/6n5xQtq1
j4UtlpIOPvOaUNnAv5hLQsxqg6Nh7luVC8Jzp4KOJoo55+WC9g523ui6Ej96Ae3Q
/yB3MthIkzrX/Z90dHknv5ckjZ24iRWR89A+rpDIAw2Hs/4fpV/91y6O8MQ/HeTK
fo49GliNqHYmtUTbPKOnaL7YmPDNrAyDImiMtR98Y/pJhiTjpK5hsJERx3UXNLRh
AKOEdi4kN+x1TB2lfBVe/Zre0/oAYYjvvfPQ09o2U+cpDTql2oj4UafwI1Kt+QuC
nFMvKAbnH3zBzMJzeb41qnohv0+Ha+2SvsXIptL6mqGWQWy6m06aKkp4+B+sol1l
xTXl3K4YqPH6LmPJe/k3MJX5mG4uUyFnUgXbnv5JcDLdiVQk8P4=
=W0mi
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.