[dokuwiki] New PR: add ability to unset mailprefix, as well as override prefix per Mailer instance

  • From: "takuy" <wiki@xxxxxxxxxxxx>
  • To: dokuwiki@xxxxxxxxxxxxx
  • Date: Sat, 2 Mar 2024 04:14:30 +0100 (CET)

Hi,

takuy opened a new pull request at 
https://github.com/dokuwiki/dokuwiki/pull/4228:

This will allow you to set `$conf['mailprefix']` to `!!not set!!`, to avoid 
prepending a subject prefix entirely. This method of config is borrowed from 
other features where null/empty string is not the same as being `not set` (ie 
`manager`, `remoteuser` and some plugin configs). 

This also also introduces a function to set an email/class instance-specific 
prefix - using the `Mailer->setSubjectPrefix()` function, overriding the 
site-wide mailprefix and/or the page title. 

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

fb7abc30-d842-11ee-9a88-d6845d82cd82


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

Other related posts:

  • » [dokuwiki] New PR: add ability to unset mailprefix, as well as override prefix per Mailer instance - takuy