| @@ 3172-3179 (lines=8) @@ | ||
| 3169 | * Clear all CC recipients. |
|
| 3170 | * @return void |
|
| 3171 | */ |
|
| 3172 | public function clearCCs() |
|
| 3173 | { |
|
| 3174 | foreach ($this->cc as $cc) { |
|
| 3175 | unset($this->all_recipients[strtolower($cc[0])]); |
|
| 3176 | } |
|
| 3177 | $this->cc = array(); |
|
| 3178 | $this->clearQueuedAddresses('cc'); |
|
| 3179 | } |
|
| 3180 | ||
| 3181 | /** |
|
| 3182 | * Clear all BCC recipients. |
|
| @@ 3185-3192 (lines=8) @@ | ||
| 3182 | * Clear all BCC recipients. |
|
| 3183 | * @return void |
|
| 3184 | */ |
|
| 3185 | public function clearBCCs() |
|
| 3186 | { |
|
| 3187 | foreach ($this->bcc as $bcc) { |
|
| 3188 | unset($this->all_recipients[strtolower($bcc[0])]); |
|
| 3189 | } |
|
| 3190 | $this->bcc = array(); |
|
| 3191 | $this->clearQueuedAddresses('bcc'); |
|
| 3192 | } |
|
| 3193 | ||
| 3194 | /** |
|
| 3195 | * Clear all ReplyTo recipients. |
|