Skip to main content

Name

envelope — return the envelope sender or recipient

Synopsis

$recip = envelope "to";

$sender = envelope "from";

$sender_domain = envelope :domain "from";

Description

Returns the envelope sender or recipient into a variable. You may use the :localpart, :domain, :user and :detail subaddressing tags to obtain the corresponding parts of the address.

See Also

Was this page helpful?