-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Labels
EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.Help wantedBeginner friendly issues or issues where we'd highly appreciate community's help and involvement.Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.
Milestone
Description
dear ladies and gentlemen,
would you possibly include a parameter "Auto-Submitted: yes"
for the header of the matomo-email-reports to prevent vacation messages?
as described at
https://tools.ietf.org/html/rfc5230#section-4.6
and
https://tools.ietf.org/html/rfc5230#section-5.6
Thank you
I added this in my case by "hardcoding" the ".../libs/Zend/Mail.php":
cat ~/Piwik_01/libs/Zend/Mail.php | grep -in -A10 -B20 "by M.W."
----------------------------------------------------------------
523- protected function _storeHeader($headerName, $value, $append = false)
524- {
525- if (isset($this->_headers[$headerName])) {
526- $this->_headers[$headerName][] = $value;
527- } else {
528- $this->_headers[$headerName] = array($value);
529- }
530-
531- if ($append) {
532- $this->_headers[$headerName]['append'] = true;
533- }
534-
535: // by M.W.
536- if ( null === $this->_headers[ 'Auto-Submitted' ] ) {
537- $this->_headers[ 'Auto-Submitted' ][] = 'yes';
538- }
539-
540- }
Metadata
Metadata
Assignees
Labels
EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.Help wantedBeginner friendly issues or issues where we'd highly appreciate community's help and involvement.Beginner friendly issues or issues where we'd highly appreciate community's help and involvement.