| @@ 314-322 (lines=9) @@ | ||
| 311 | * Return the list of recipients in the Cc: header |
|
| 312 | * @return array |
|
| 313 | */ |
|
| 314 | public function getCc() |
|
| 315 | { |
|
| 316 | if ($this->headers->has("Cc")) |
|
| 317 | { |
|
| 318 | $cc = $this->headers->get("Cc"); |
|
| 319 | if ($cc == "") return array(); |
|
| 320 | else return (array) $cc; |
|
| 321 | } |
|
| 322 | } |
|
| 323 | /** |
|
| 324 | * Set the list of recipients in the Bcc: header |
|
| 325 | * @param mixed An array or a string |
|
| @@ 343-351 (lines=9) @@ | ||
| 340 | * Return the list of recipients in the Bcc: header |
|
| 341 | * @return array |
|
| 342 | */ |
|
| 343 | public function getBcc() |
|
| 344 | { |
|
| 345 | if ($this->headers->has("Bcc")) |
|
| 346 | { |
|
| 347 | $bcc = $this->headers->get("Bcc"); |
|
| 348 | if ($bcc == "") return array(); |
|
| 349 | else return (array) $bcc; |
|
| 350 | } |
|
| 351 | } |
|
| 352 | /** |
|
| 353 | * Set the subject in the headers |
|
| 354 | * @param string The subject of the email |
|