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

Paramètres

chaîne de caractères $recipient

The recipient (forward path) to add.

Valeur retournée

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

Valeurs renvoyées

throws no exceptions thrown

Note

Cette fonction ne peut pas être appelée de façon statique.