Net_SMTP::disconnect

Net_SMTP::disconnect() – Attempt to disconnect from the SMTP server.

Synopsis

require_once 'NET/SMTP.php';

mixedNet_SMTP::disconnect ( )

Description

Attempt to close the connection with the SMTP server.

Return value

returns Returns a PEAR_Error with an error message on any kind of failure, or true on success.

Throws

throws no exceptions thrown

Note

This function can not be called statically.