lib/classes/Swift/Mime/Headers/MailboxHeader.php 1 location
|
@@ 358-360 (lines=3) @@
|
| 355 |
|
*/ |
| 356 |
|
private function _assertValidAddress($address) |
| 357 |
|
{ |
| 358 |
|
if ($this->_emailValidator->isValidWrapper($address) === false) { |
| 359 |
|
throw new Swift_RfcComplianceException('Address in mailbox given [' . $address . '] does not comply with RFC 2822, 3.6.2.'); |
| 360 |
|
} |
| 361 |
|
} |
| 362 |
|
} |
| 363 |
|
|
lib/classes/Swift/Mime/SimpleMimeEntity.php 1 location
|
@@ 957-959 (lines=3) @@
|
| 954 |
|
*/ |
| 955 |
|
private function _assertValidId($id) |
| 956 |
|
{ |
| 957 |
|
if ($this->_emailValidator->isValidWrapper($id) === false) { |
| 958 |
|
throw new Swift_RfcComplianceException('Invalid ID given <' . $id . '>'); |
| 959 |
|
} |
| 960 |
|
} |
| 961 |
|
|
| 962 |
|
/** |