envelope

March 26, 2020 Contributors

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

address.