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


require_once 'NET/SMTP.php';

mixedNet_SMTP::disconnect ( )


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 no exceptions thrown


This function can not be called statically.

Send the DATA command to start message body (Previous) Return a 2-tuple containing the last response from the SMTP server. (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.