splitbrain/dokuwiki — pull request #145 by dom-mel (2012-11-23 19:03:25+00:00)
Title: Ignore empty email headers

In the current mailer class the setHeader method drops empty header fields. But this can be bypassed in the MAIL_MESSAGE_SEND event. This patch ensure that there are no empty header fields.

Reason:
Some mail server rejecting mails with empty Cc or Bcc headers, see https://forum.dokuwiki.org/post/35822.