Previous Page
_exception()

Solar_Smtp_Adapter_LoginAuth
_expect()

Next Page
_recv()

_expect()

protected string _expect ( array $list, int $timeout default NULL )

Receive lines from the SMTP server and look for an expected response code.

Inherited from Solar_Smtp_Adapter.

Parameters

  • (array) $list: A list of one or more expected response codes.
  • (int) $timeout: The timeout for this individual operation, if any.

Returns

  • (string) The last text message received from the server (not including the response code).

Description

Receive lines from the SMTP server and look for an expected response code.