SMTP::quit

Advertisement

Summery Summery

Send an SMTP QUIT command.

Syntax Syntax

SMTP::quit( boolean $close_on_error = true )

Description Description

Closes the socket if there is no error or the $close_on_error argument is true. Implements from rfc 821: QUIT

Parameters Parameters

$close_on_error

(boolean) (Optional) Should the connection close if an error occurs?

Default value: true

Return Return

(boolean)

Source Source

File: wp-includes/class-smtp.php


			

Advertisement

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.