SmtpAdapter
class SmtpAdapter implements MailAdapterInterface (View source)
Constants
| private SMTP_READY |
SMTP response codes |
| private SMTP_OK |
|
| private SMTP_AUTH_CONTINUE |
|
| private SMTP_AUTH_SUCCESS |
|
| private SMTP_DATA_START |
|
| private SMTP_QUIT |
|
Methods
__construct(array $config)
SmtpAdapter Constructor
__destruct()
Destructor - ensure connection is closed
Details
__construct(array $config)
SmtpAdapter Constructor
bool
send(Envelop $envelop)
Send email via SMTP
__destruct()
Destructor - ensure connection is closed