Ultimately this will come down to the editor; however, it seems appropriate to ask mutt users how they've handled this issue.
I have a folder hook that sets my content_type to text/html when I switch to my work email (required that we use html sigs). My sig is raw html and comes across perfectly displayed on an HTML capable client. The only problem I have is formatting the actual email text.
Since the content_type is html (as opposed to attaching my email signature html file, which didn't seem to display on all html clients) - and my editor (emacs or nano) is writing plain text, my new lines don't work. I'm guessing that I will end up using tr or sed (or a combination) to replace the \n's with <br>
, but I wanted to see if there is anything more elegant than that.
I've tried putting emacs in html-mode, hoping that it would automatically export html, but that alone didn't do it.
Anyone have any suggestions?
I'm willing to use emacs or nano, but avoid Vi because my muscle memory is so accustomed to the other two