| @@ 237-244 (lines=8) @@ | ||
| 234 | /** |
|
| 235 | * @return string |
|
| 236 | */ |
|
| 237 | public function getToList($assoc = false) { |
|
| 238 | $e = $this->getEnvelope(); |
|
| 239 | if ($assoc) { |
|
| 240 | return $this->convertAddressList($e->to); |
|
| 241 | } else { |
|
| 242 | return $this->hordeListToStringArray($e->to); |
|
| 243 | } |
|
| 244 | } |
|
| 245 | ||
| 246 | public function getCCList($assoc = false) { |
|
| 247 | $e = $this->getEnvelope(); |
|
| @@ 246-253 (lines=8) @@ | ||
| 243 | } |
|
| 244 | } |
|
| 245 | ||
| 246 | public function getCCList($assoc = false) { |
|
| 247 | $e = $this->getEnvelope(); |
|
| 248 | if ($assoc) { |
|
| 249 | return $this->convertAddressList($e->cc); |
|
| 250 | } else { |
|
| 251 | return $this->hordeListToStringArray($e->cc); |
|
| 252 | } |
|
| 253 | } |
|
| 254 | ||
| 255 | public function setCC(Horde_Mail_Rfc822_List $cc) { |
|
| 256 | throw new Exception('IMAP message is immutable'); |
|
| @@ 259-266 (lines=8) @@ | ||
| 256 | throw new Exception('IMAP message is immutable'); |
|
| 257 | } |
|
| 258 | ||
| 259 | public function getBCCList($assoc = false) { |
|
| 260 | $e = $this->getEnvelope(); |
|
| 261 | if ($assoc) { |
|
| 262 | return $this->convertAddressList($e->bcc); |
|
| 263 | } else { |
|
| 264 | return $this->hordeListToStringArray($e->bcc); |
|
| 265 | } |
|
| 266 | } |
|
| 267 | ||
| 268 | public function setBcc(Horde_Mail_Rfc822_List $bcc) { |
|
| 269 | throw new Exception('IMAP message is immutable'); |
|