Net_SMTP::getResponse()

Net_SMTP::getResponse() -- Return a 2-tuple containing the last response from the SMTP server.

Synopsis

require_once 'NET/SMTP.php';

array Net_SMTP::getResponse ()

Description

Return a two-element array containing the last response from the SMPT server.

Return value

returns A two-element array: the first element contains the response code as an integer and the second element contains the response's arguments as a string.

Throws

throws no exceptions thrown

Note

This function can not be called statically.