\Pop\Mail\ClientAbstractClient

Abstract mail client class

Summary

Methods
Properties
Constants
__construct()
getHost()
getPort()
getService()
getUsername()
getPassword()
getFolder()
setHost()
setPort()
setService()
setUsername()
setPassword()
setFolder()
No public properties found
No constants found
No protected methods found
$host
$port
$service
$username
$password
$folder
N/A
No private methods found
No private properties found
N/A

Properties

$host

$host : string

Mail client host

Type

string

$port

$port : integer

Mail client port

Type

integer

$service

$service : string

Mail client service (pop, imap, nntp, etc.)

Type

string

$username

$username : string

Username

Type

string

$password

$password : string

Password

Type

string

$folder

$folder : string

Current folder

Type

string

Methods

__construct()

__construct(string  $host, integer  $port, string  $service = null) 

Constructor

Instantiate the mail client object

Parameters

string $host
integer $port
string $service

getHost()

getHost() : string

Get mail client host

Returns

string

getPort()

getPort() : integer

Get mail client port

Returns

integer

getService()

getService() : string

Get mail client service

Returns

string

getUsername()

getUsername() : string

Get username

Returns

string

getPassword()

getPassword() : string

Get password

Returns

string

getFolder()

getFolder() : string

Get folder

Returns

string

setService()

setService(string  $service) : \Pop\Mail\Client\AbstractClient

Set mail client service

Parameters

string $service

Returns

\Pop\Mail\Client\AbstractClient

setUsername()

setUsername(string  $username) : \Pop\Mail\Client\AbstractClient

Set username

Parameters

string $username

Returns

\Pop\Mail\Client\AbstractClient

setPassword()

setPassword(string  $password) : \Pop\Mail\Client\AbstractClient

Set password

Parameters

string $password

Returns

\Pop\Mail\Client\AbstractClient