Solar_Smtp_Adapter::_expect()

protected string Solar_Smtp_Adapter::_expect ( array $list , int $timeout = NULL )

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

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.



Local