[Tickets #8784] Re: Sieve filter updates to features

noreply at bugs.horde.org noreply at bugs.horde.org
Mon Apr 14 15:34:16 UTC 2014


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/8784
------------------------------------------------------------------------------
  Ticket             | 8784
  Updated By         | manuel-horde at mausz.at <manuel-horde at mausz.at>
  Summary            | Sieve filter updates to features
  Queue              | Ingo
  Version            | 1.2.3
  Type               | Enhancement
  State              | Accepted
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


manuel-horde at mausz.at (2014-04-14 15:22) wrote:

For those having issues with notify => enotify here's a simple fix:

> --- Notify.old.php     2013-08-29 15:18:38.040018368 +0200
> +++ horde/ingo/lib/Script/Sieve/Action/Notify.php       2014-04-14  
> 17:03:18.347365694 +0200
> @@ -45,13 +45,7 @@
>       */
>      public function generate()
>      {
> -        return 'notify :method "mailto" :options "' .
> -            Ingo_Script_Sieve::escapeString($this->_vars['address']) .
> -            '" :message "' .
> -            _("You have received a new message") . "\n" .
> -            _("From:") . " \$from\$ \n" .
> -            _("Subject:") . " \$subject\$ \n" .
> -            _("Rule:") . ' ' . $this->_vars['name'] . '";';
> +        return 'notify "mailto:' .  
> Ingo_Script_Sieve::escapeString($this->_vars['address']) . '";';
>      }
>       /**
> @@ -75,6 +69,6 @@
>       */
>      public function requires()
>      {
> -        return array('notify');
> +        return array('enotify');
>      }
>  }





More information about the bugs mailing list