getBuffer()
getBuffer() : \Pop\Mail\Transport\Smtp\Stream\BufferInterface
Get the IoBuffer where read/writes are occurring.
SMTP agent interface
getBuffer() : \Pop\Mail\Transport\Smtp\Stream\BufferInterface
Get the IoBuffer where read/writes are occurring.
executeCommand(string $command, array<mixed,integer> $codes = array())
Run a command against the buffer, expecting the given response codes.
If no response codes are given, the response will not be validated. If codes are given, an exception will be thrown on an invalid response.
string | $command | |
array<mixed,integer> | $codes |