@@ 213-220 (lines=8) @@ | ||
210 | /** |
|
211 | * @return string |
|
212 | */ |
|
213 | public function getToList($assoc = false) { |
|
214 | $e = $this->getEnvelope(); |
|
215 | if ($assoc) { |
|
216 | return $this->convertAddressList($e->to); |
|
217 | } else { |
|
218 | return $this->hordeListToStringArray($e->to); |
|
219 | } |
|
220 | } |
|
221 | ||
222 | public function getCCList($assoc = false) { |
|
223 | $e = $this->getEnvelope(); |
|
@@ 222-229 (lines=8) @@ | ||
219 | } |
|
220 | } |
|
221 | ||
222 | public function getCCList($assoc = false) { |
|
223 | $e = $this->getEnvelope(); |
|
224 | if ($assoc) { |
|
225 | return $this->convertAddressList($e->cc); |
|
226 | } else { |
|
227 | return $this->hordeListToStringArray($e->cc); |
|
228 | } |
|
229 | } |
|
230 | ||
231 | public function setCC(Horde_Mail_Rfc822_List $cc) { |
|
232 | throw new Exception('IMAP message is immutable'); |
|
@@ 235-242 (lines=8) @@ | ||
232 | throw new Exception('IMAP message is immutable'); |
|
233 | } |
|
234 | ||
235 | public function getBCCList($assoc = false) { |
|
236 | $e = $this->getEnvelope(); |
|
237 | if ($assoc) { |
|
238 | return $this->convertAddressList($e->bcc); |
|
239 | } else { |
|
240 | return $this->hordeListToStringArray($e->bcc); |
|
241 | } |
|
242 | } |
|
243 | ||
244 | public function setBcc(Horde_Mail_Rfc822_List $bcc) { |
|
245 | throw new Exception('IMAP message is immutable'); |