TTMail
in package
Table of Contents
- $default_mime_config : mixed
- $data : mixed
- $mail_obj : mixed
- $mime_obj : mixed
- __construct() : mixed
- TTMail constructor.
- getBody() : bool
- getDeliveryMethod() : string
- getHeaders() : bool
- getMailObject() : null|object
- getMIMEHeaders() : array<string|int, mixed>
- getMimeObject() : Mail_Mime|null
- getSMTPConfig() : array<string|int, mixed>
- getTo() : bool
- parseEmailAddress() : mixed
- Extracts just the email address part from a string that may contain the name part, etc.
- Send() : bool
- setBody() : bool
- setDefaultTXTBody() : mixed
- Adds a plain text body to an HTML email stating that it contains HTML content.
- setHeaders() : bool
- setTo() : bool
Properties
$default_mime_config
public
mixed
$default_mime_config
= ['html_charset' => 'UTF-8', 'text_charset' => 'UTF-8', 'head_charset' => 'UTF-8']
$data
private
mixed
$data
= \null
$mail_obj
private
mixed
$mail_obj
= \null
$mime_obj
private
mixed
$mime_obj
= \null
Methods
__construct()
TTMail constructor.
public
__construct() : mixed
Return values
mixed —getBody()
public
getBody() : bool
Return values
bool —getDeliveryMethod()
public
getDeliveryMethod() : string
Return values
string —getHeaders()
public
getHeaders() : bool
Return values
bool —getMailObject()
public
getMailObject() : null|object
Return values
null|object —getMIMEHeaders()
public
getMIMEHeaders() : array<string|int, mixed>
Return values
array<string|int, mixed> —getMimeObject()
public
getMimeObject() : Mail_Mime|null
Return values
Mail_Mime|null —getSMTPConfig()
public
getSMTPConfig() : array<string|int, mixed>
Return values
array<string|int, mixed> —getTo()
public
getTo() : bool
Return values
bool —parseEmailAddress()
Extracts just the email address part from a string that may contain the name part, etc.
public
static parseEmailAddress( $address) : mixed
..
Parameters
Return values
mixed —Send()
public
Send([bool $force = false ]) : bool
Parameters
- $force : bool = false
Return values
bool —setBody()
public
setBody( $body) : bool
Parameters
Return values
bool —setDefaultTXTBody()
Adds a plain text body to an HTML email stating that it contains HTML content.
public
setDefaultTXTBody() : mixed
Return values
mixed —setHeaders()
public
setHeaders( $headers[, bool $include_default = false ]) : bool
Parameters
Return values
bool —setTo()
public
setTo( $email) : bool