class CRM_Utils_Verp

Class to handle encoding and decoding Variable Enveleope Return Path (VERP) headers.

Properties

static $encodeMap
static $decodeMap

Methods

static string
encode(string $sender, string $recipient)

Encode the sender's address with the VERPed recipient.

static array
verpdecode(string $address)

Decode the address and return the sender and recipient as an array.

Details

at line 73
static string encode(string $sender, string $recipient)

Encode the sender's address with the VERPed recipient.

Parameters

string $sender The address of the sender.
string $recipient The address of the recipient.

Return Value

string The VERP encoded address

at line 99
static array verpdecode(string $address)

Decode the address and return the sender and recipient as an array.

Parameters

string $address The address to be decoded.

Return Value

array The tuple ($sender, $recipient)