Class SmtpMailer
Sends emails via the SMTP server.
-
Nette\Mail\SmtpMailer
implements
Nette\Mail\IMailer
uses
Nette\SmartObject
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|int[] $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
- $expectedCode
- code
- $message
- message
|
protected
string
|
#
read( )
Reads response from server.
Reads response from server.
Returns
string string
|