Bug #22541 ยป analyze_return_error_bad_host_unknown.diff
class.t3lib_readmail.php 2010-04-27 13:24:31.000000000 +0200 | ||
---|---|---|
$cp['mailserver']='unknown';
|
||
if (preg_match('/Unknown Recipient|Delivery failed 550|Receiver not found|User not listed|recipient problem|Delivery to the following recipients failed|User unknown|recipient name is not recognized/i',$cp['reason_text'])) {
|
||
$cp['reason']=550; // 550 Invalid recipient, User unknown
|
||
} elseif (preg_match('/Host or domain name not found|Host not found/i',$cp['reason_text'])) {
|
||
$cp['reason']=2; // Bad host
|
||
} elseif (preg_match('/over quota|mailbox full/i',$cp['reason_text'])) {
|
||
$cp['reason']=551;
|
||
} elseif (preg_match('/Error in Header/i',$cp['reason_text'])) {
|
||
... | ... | |
if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_readmail.php']) {
|
||
include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['t3lib/class.t3lib_readmail.php']);
|
||
}
|
||
?>
|
||
?>
|