Last updated March 2020
envelope — return the envelope sender or recipient
$recip = envelope "to";
$sender = envelope "from";
$sender_domain = envelope :domain "from";
Returns the envelope sender or recipient into a variable. You may use the
:detail subaddressing tags to obtain the corresponding parts of the address.
Was this page helpful?