Class AddressStructure

Description

Class used to work with email address headers

  • since: 1.3.2

Located in /class/mime/AddressStructure.class.php (line 23)


	
			
Variable Summary
string $adl
string $group
string $host
string $mailbox
string $personal
Method Summary
string getAddress ([boolean $full = true], [boolean $encoded = false])
string getEmail ()
string getEncodedAddress ()
Variables
string $adl = '' (line 33)
  • todo: check use of this variable. var is not used in class.
string $group = '' (line 48)
  • todo: check use of this variable. var is not used in class.
string $host = '' (line 43)

Server address.

string $mailbox = '' (line 38)

Mailbox name.

string $personal = '' (line 28)

Personal information

Methods
getAddress (line 56)

Return address information from mime headers.

string getAddress ([boolean $full = true], [boolean $encoded = false])
  • boolean $full: return full address (true) or only personal if it exists, otherwise email (false)
  • boolean $encoded: (since 1.4.0) return rfc2047 encoded address (true) or plain text (false).
getEmail (line 106)

Return just the email portion of this address

  • since: 1.5.2
string getEmail ()
getEncodedAddress (line 97)

Shorter version of getAddress() function Returns full encoded address.

  • since: 1.4.0
string getEncodedAddress ()

Documentation generated on Sat, 07 Oct 2006 16:08:50 +0300 by phpDocumentor 1.3.0RC6