Net_SMTP::mailFrom()

Net_SMTP::mailFrom() -- Send the MAIL FROM: command.

Synopsis

require_once 'NET/SMTP.php';

mixedNet_SMTP::mailFrom (string $sender)

Description

Send the MAIL FROM: command

Paramètres

chaîne de caractères $sender

The sender (reverse path) to set.

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.