Net_SMTP::getResponse

Net_SMTP::getResponse() – Return a 2-tuple containing the last response from the SMTP server.

Synopsis

require_once 'NET/SMTP.php';

array Net_SMTP::getResponse ( )

Description

Return a two-element array containing the last response from the SMPT server.

Return value

returns A two-element array: the first element contains the response code as an integer and the second element contains the response's arguments as a string.

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Attempt to disconnect from the SMTP server. (Previous) Send the HELO command. (Next)
Last updated: Tue, 21 Oct 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.