lib/classes/Swift/Mime/Headers/MailboxHeader.php 1 location
|
@@ 352-354 (lines=3) @@
|
| 349 |
|
*/ |
| 350 |
|
private function _assertValidAddress($address) |
| 351 |
|
{ |
| 352 |
|
if ($this->_emailValidator->isValidWrapper($address) === false) { |
| 353 |
|
throw new Swift_RfcComplianceException('Address in mailbox given [' . $address . '] does not comply with RFC 2822, 3.6.2.'); |
| 354 |
|
} |
| 355 |
|
} |
| 356 |
|
} |
| 357 |
|
|
lib/classes/Swift/Mime/SimpleMimeEntity.php 1 location
|
@@ 950-952 (lines=3) @@
|
| 947 |
|
*/ |
| 948 |
|
private function _assertValidId($id) |
| 949 |
|
{ |
| 950 |
|
if ($this->_emailValidator->isValidWrapper($id) === false) { |
| 951 |
|
throw new Swift_RfcComplianceException('Invalid ID given <' . $id . '>'); |
| 952 |
|
} |
| 953 |
|
} |
| 954 |
|
|
| 955 |
|
/** |