Methods

{@inheritdoc}

__construct(array $config) 

Parameters

$config

Add merge vars

add_merge_vars(array $merge_vars, mixed $rcpt) : array

Parameters

$merge_vars

array

Key-value pairs

$rcpt

mixed

Null for global, string for recipient

Returns

array

{@inheritdoc}

attach($file, $inline, $cid, $mime, $name) 

Parameters

$file

$inline

$cid

$mime

$name

Get merge vars

get_merge_vars(mixed $key, mixed $rcpt) : array

Parameters

$key

mixed

Null for all, string for specific

$rcpt

mixed

Null for global, string for recipient

Returns

array

Set one or several merge vars

set_merge_var(mixed $key, mixed $value, mixed $rcpt) : object

Parameters

$key

mixed

Array for many vars, string for one

$value

mixed

In case of many vars it is ommited

$rcpt

mixed

Null for global, string for recipient

Returns

object$this

{@inheritdoc}

_send() 

Add type to recipient list

build_rcpt(string $list) : array

Parameters

$list

string

to, cc, bcc

Returns

array

{@inheritdoc}

clear_list($list) 

Parameters

$list

 Properties

 

Global merge vars

$merge_vars : array

   

Recipient merge vars

$rcpt_merge_vars : array