PHPMailer\PHPMailer
POP3::checkResponse
Checks the POP3 server response. Looks for +OK or -ERR.
Метод класса: POP3{}
Хуков нет.
Возвращает
bool.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->checkResponse( $string );
- $string(строка) (обязательный)
- .
Код POP3::checkResponse() POP3::checkResponse WP 7.1.2
protected function checkResponse($string)
{
if (strpos($string, '+OK') !== 0) {
$this->setError("Server reported an error: $string");
return false;
}
return true;
}