/functions/rfc822address.php

Description

rfc822address.php

Contains rfc822 email address function parsing functions.

Functions
getAddressString (line 91)

Do the address array to string translation

string getAddressString (array $aAddressList, array $aProps)
  • array $aAddressList: list with email address arrays
  • array $aProps: associative array with properties
parseRFC822Address (line 25)

parseRFC822Address: function for parsing RFC822 email address strings and store them in an address array

  • author: Marc Groot Koerkamp
  • public:
void parseRFC822Address ( $sAddress, [integer $iLimit = 0], string $address)
  • string $address: The email address string to parse
  • integer $iLimit: stop on $iLimit parsed addresses
  • $sAddress
processAddressArray (line 169)

Do after address parsing handling. This is used by compose.php and should be moved to compose.php.

The AddressStructure objetc is now obsolete and dependent parts of that will be adapted so that it can make use of this function After that we can remove the parseAddress method from the Rfc822Header class completely so we achieved 1 single instance of parseAddress instead of two like we have now.

string processAddressArray ( $aAddresses, array $aProps, array $aAddressList)
  • array $aAddressList: list with email address arrays
  • array $aProps: associative array with properties
  • $aAddresses
_createAddressElement (line 240)

Internal function for creating an address array

  • return: array with personal (0), adl(1), mailbox(2) and host(3) info
  • author: Marc Groot Koerkamp
  • private:
array _createAddressElement ( &$aStack,  &$aComment,  &$sEmail, array $aStack, array $aComment, string $sEmail)
  • array $aStack
  • array $aComment
  • string $sEmail
  • &$aStack
  • &$aComment
  • &$sEmail
_getAddressTokens (line 285)

Tokenizer function for parsing the RFC822 email address string

  • author: Marc Groot Koerkamp
  • private:
array _getAddressTokens (string $address)
  • string $address: The email address string to parse

Documentation generated on Mon, 13 Jan 2020 04:23:25 +0100 by phpDocumentor 1.4.3