[dokuwiki] New PR: Add Message-ID to all mails

  • From: "dadrc" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Tue, 30 Aug 2022 20:48:55 +0200 (CEST)

Hi,

dadrc opened a new pull request at 
https://github.com/splitbrain/dokuwiki/pull/3758:

RFC 5322 specifies that all mails SHOULD have a Message-ID field. While 
originating SMTP servers MAY (as per RFC 5321) add a missing Message-ID, this 
behavior is not mandatory.
Multiple mail providers, e.g. Gmail, reject mails without a Message-ID field, 
rendering their users unable to receive mails from a Dokuwiki instance using a 
standard-conforming mail server.

This commit simply adds a random Message-ID to a mail's headers during Mailer 
class initialization. With the current behavior of setHeader(), overwriting 
that header happens without additional changes, should another Message-ID be 
necessary, warranted or desired.

Please help us to review this pull request, so new contributors get feedback in 
a timely manner.

6568c7f0-2894-11ed-9a22-acc245ca6c64


-- 
DokuWiki mailing list - more info at
http://www.dokuwiki.org/mailinglist

Other related posts:

  • » [dokuwiki] New PR: Add Message-ID to all mails - dadrc