+ public function authorized($recipient) {
+ $authorized = false;
+
+ $this->log("authorized '$recipient'", 3);
+
+ if ($this->isAdmin() || $this->getUser() == $recipient) {
+ $authorized = true;
+ }
+ $this->log("authorize '".$this->getUser()."' rcpt '$recipient'", 3);
+
+ return $authorized;
+ }
+