Class SmtpMailer
Sends emails via the SMTP server.
-
Nette\Object
-
Nette\Mail\SmtpMailer
implements
Nette\Mail\IMailer
Methods summary
public
|
|
public
|
|
protected
|
#
connect( )
Connects and authenticates to SMTP server.
Connects and authenticates to SMTP server.
|
protected
|
#
disconnect( )
Disconnects from SMTP server.
Disconnects from SMTP server.
|
protected
|
#
write( string $line, integer $expectedCode = NULL, string $message = NULL )
Writes data to server and checks response against expected code if some
provided.
Writes data to server and checks response against expected code if some
provided.
Parameters
- $line
string
- $expectedCode
integer response code
- $message
string error message
|
protected
string
|
#
read( )
Reads response from server.
Reads response from server.
Returns
string
|