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

Parameter

string $sender

The sender (reverse path) to set.

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.

Backwards-compatibility method.identifySender()'s functionality is now handled internally. (Previous) Send the NOOP command. (Next)
Last updated: Thu, 18 Sep 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.