\Pop\Mail\Transport\SmtpAgentInterface

SMTP agent interface

Summary

Methods
Constants
getBuffer()
executeCommand()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

executeCommand()

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.

Parameters

string $command
array<mixed,integer> $codes