Property | Type | Description | |
---|---|---|---|
$auth | string | The authentication method to use. | |
$hostspec | string | The remote server (not present for relative URLs). | |
$mailbox | string | The IMAP mailbox. | |
$partial | string | A byte range for use with IMAP FETCH. | |
$port | integer | The remote port (not present for relative URLs). | |
$protocol | string | The protocol type. Either 'imap' or 'pop' (not present for relative URLs). | |
$search | string | A search query to be run with IMAP SEARCH. | |
$section | string | A MIME part ID. | |
$uid | string | The IMAP UID. | |
$uidvalidity | integer | The IMAP UIDVALIDITY for the given mailbox. | |
$urlauth | string | URLAUTH info (not parsed). | |
$username | string | The username to use on the remote server. |
Method | Description | |
---|---|---|
__construct ( string $url = null ) | Constructor. | |
__get ( $name ) | ||
__toString ( ) : string | Create a POP3 (RFC 2384) or IMAP (RFC 5092/5593) URL. | |
serialize ( ) | ||
unserialize ( $data ) |
Method | Description | |
---|---|---|
_parse ( $url ) |
public __construct ( string $url = null ) | ||
$url | string | A URL string. |
public __toString ( ) : string | ||
return | string | A URL string. |
public string $hostspec | ||
return | string |
public string $partial | ||
return | string |
public int $port | ||
return | integer |
public string $protocol | ||
return | string |
public string $search | ||
return | string |
public int $uidvalidity | ||
return | integer |
public string $username | ||
return | string |