Closed TimQuelch closed 3 years ago
I've opened a PR #71
As far as I could tell mml-expand-all-html-into-multipart-related
is relatively new and will recursively process all text/html
blocks, whereas the old behabiour would not trigger recursively. This means we are required to modify the mml structure directly after parsing.
We can close this issue right ?
I often want to switch between whether I send plain text email or text+html depending on who I am sending email to. Right now I manually switch between
org-msg
andnotmuch-message
modes depending which I want to send, but this is becoming unwieldy.I'm thinking of submitting a PR which will easily allow switching between text modes. The way I was thinking was by adding more properties which control what is sent:
The default values when creating a new email would be determined by a customise option.
I've had a look at the existing code in
org-msg-prepare-to-send
and I have a few questions:org-msg-mml-recursive-support
? This evaluates to false on my computer, Which means a lot of the mime handling is done byorg-msg-mml-into-multipart-related
(as far as I can tell).org-msg-mml-recursive-support
evaluates to true if the functionmml-expand-all-html-into-multipart-related
is defined. In what cases is this function defined?