On Thu, Apr 28, 2016 at 07:05:40PM +0300, Niko Tyni wrote: > On Tue, Apr 26, 2016 at 09:55:38PM +0300, Niko Tyni wrote: > > > A better fix would be be to wrap everything, but I don't have a good patch > > for that. Hacking build_complete_message() could work I guess, but it's > > not used by all the sending backends (at least _send_message_mailsend(); > > not sure we need to care about that.) > > > > I think I need to look at this a bit more. > > Revised set of two patches attached. Eyeballs would be welcome.
This looks sane to me. Thanks for taking the time to refactor! Cheers, Dominic.