|
@@ 304-306 (lines=3) @@
|
| 301 |
|
$to_email_addresses = []; |
| 302 |
|
|
| 303 |
|
foreach ($this->to as $to) { |
| 304 |
|
if ((strpos($to['email_address'], "\n") !== false) || (strpos($to['email_address'], "\r") !== false)) { |
| 305 |
|
return false; |
| 306 |
|
} |
| 307 |
|
|
| 308 |
|
if ((strpos($to['name'], "\n") !== false) || (strpos($to['name'], "\r") !== false)) { |
| 309 |
|
return false; |
|
@@ 308-310 (lines=3) @@
|
| 305 |
|
return false; |
| 306 |
|
} |
| 307 |
|
|
| 308 |
|
if ((strpos($to['name'], "\n") !== false) || (strpos($to['name'], "\r") !== false)) { |
| 309 |
|
return false; |
| 310 |
|
} |
| 311 |
|
|
| 312 |
|
if (empty($to['name'])) { |
| 313 |
|
$to_email_addresses[] = $to['email_address']; |