On Saturday May 23 2015,
vic...@gmail.com wrote:
> Hi,
>
> According to the faq[1] it should be possible to apply format=flowed to
> outgoing messages by setting this in the init file:
>
> (add-hook 'mu4e-compose-mode-hook
> "Outgoing mails get format=flowed."
> (defun cpb-compose-setup ()
> (use-hard-newlines t 'guess)))
>
>
>
> I encounter two problems.
>
> 1) If I use the exact block from the FAQ, I get an error upon composing a
> new message:
> run-hooks: Invalid function: "Outgoing mails get format=flowed."
Seems the snippet got the lines in the wrong order; should be:
(add-hook 'mu4e-compose-mode-hook
(defun cpb-compose-setup ()
"Outgoing mails get format=flowed."
(use-hard-newlines t 'guess)))
I've updated the FAQ.
> Is the line "Outgoing mails get format=flowed." supposed to be a comment?
>
> 2) I use msmtp. After commenting out the offending line, the error
> disappears, but the header is not set. As I understand it, the code depends
> on using emacs’s builtin smtp sender. Is it possible to set
> "format=flowed" for other sendmail programs like msmtp?
You could try to influence the content-type directly to include
format=flowed, see `message-replace-header'.
Kind regards,
Dirk.
--
Dirk-Jan C. Binnema Helsinki, Finland
e:dj...@djcbsoftware.nl w:
www.djcbsoftware.nl
pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C