smtpSettings
extends configObj
in package
System config item for SMTP settings
Tags
Table of Contents
- $accesstoken : string
- OAuth access token
- $addr : string
- E-mail address
- $auth : string
- Connection encryption
- $encr : string
- Connection encryption
- $pass : string
- Password
- $port : int
- Server port
- $srvurl : string
- SMTP server
- $token : string
- OAuth token
- $user : string
- Username
- __construct() : bool
- Constructor
- offsetExists() : bool
- Check if offset exists
- offsetGet() : mixed
- Return offset value
- offsetSet() : void
- Set offset value
- toJSON() : string
- Return JSON string
- init() : mixed
- INit data
Properties
$accesstoken
OAuth access token
public
string
$accesstoken
= ''
$addr
E-mail address
public
string
$addr
= ''
$auth
Connection encryption
public
string
$auth
= ''
$encr
Connection encryption
public
string
$encr
= 'auto'
$pass
Password
public
string
$pass
= ''
$port
Server port
public
int
$port
= '25'
$srvurl
SMTP server
public
string
$srvurl
= ''
$token
OAuth token
public
string
$token
= ''
$user
Username
public
string
$user
= ''
Methods
__construct()
Constructor
public
__construct(array<string|int, mixed>|string $data[, mixed $oldConf = null ][, bool $isEnabled = false ]) : bool
Parameters
- $data : array<string|int, mixed>|string
- $oldConf : mixed = null
- $isEnabled : bool = false
Return values
bool —offsetExists()
Check if offset exists
public
offsetExists(int|string $offset) : bool
Parameters
- $offset : int|string
Return values
bool —offsetGet()
Return offset value
public
offsetGet(int|string $offset) : mixed
Parameters
- $offset : int|string
Return values
mixed —offsetSet()
Set offset value
public
offsetSet(int|string $offset, mixed $value) : void
Parameters
- $offset : int|string
- $value : mixed
Return values
void —toJSON()
Return JSON string
public
final toJSON() : string
Return values
string —init()
INit data
protected
final init(array<string|int, mixed> $data) : mixed
Parameters
- $data : array<string|int, mixed>