Net_SMTP::rcptTo

Net_SMTP::rcptTo() – Send the RCPT TO: command.

Synopsis

require_once 'NET/SMTP.php';

mixedNet_SMTP::rcptTo ( string $recipient )

Description

sends the RCPT TO SMTP protocol command

Parameter

string $recipient

The recipient (forward path) to add.

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.

Quote the data so that it meets SMTP standards. (Previous) Send the RSET command. (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.