Documentation

AbstractMailClient
in package
implements MailClientInterface

AbstractYes

Abstract mail client class

Tags
category

Pop

author

Nick Sagona, III dev@nolainteractive.com

copyright

Copyright (c) 2009-2024 NOLA Interactive, LLC. (http://www.nolainteractive.com)

license

http://www.popphp.org/license New BSD License

version
4.0.0

Table of Contents

Interfaces

MailClientInterface
Mail client interface

Properties

$folder  : string
Current folder
$host  : string|null
Mail client host
$password  : string
Password
$port  : int|string|null
Mail client port
$service  : string|null
Mail client service (pop, imap, nntp, etc.)
$username  : string
Username

Methods

__construct()  : mixed
Constructor
getFolder()  : string
Get folder
getHost()  : string|null
Get mail client host
getPassword()  : string
Get password
getPort()  : int|string|null
Get mail client port
getService()  : string|null
Get mail client service
getUsername()  : string
Get username
setFolder()  : AbstractMailClient
Set folder
setHost()  : AbstractMailClient
Set mail client host
setPassword()  : AbstractMailClient
Set password
setPort()  : AbstractMailClient
Set mail client port
setService()  : AbstractMailClient
Set mail client service
setUsername()  : AbstractMailClient
Set username

Properties

$service

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

protected string|null $service = null

Methods

__construct()

Constructor

public __construct(string $host, int|string $port[, string|null $service = null ]) : mixed

Instantiate the mail client object

Parameters
$host : string
$port : int|string
$service : string|null = null

getHost()

Get mail client host

public getHost() : string|null
Return values
string|null

getPort()

Get mail client port

public getPort() : int|string|null
Return values
int|string|null

getService()

Get mail client service

public getService() : string|null
Return values
string|null

        
On this page

Search results