Log
class Log extends Driver (View source)
Properties
protected array | $config | Konfigurasi. | from Driver |
protected array | $to | List penerima email. |
from Driver |
protected array | $cc | List penerima email (copy carbon). |
from Driver |
protected array | $bcc | List penerima email (back copy carbon). |
from Driver |
protected array | $replyto | List penerima balasan email. |
from Driver |
protected array | $attachments | List lampiran. |
from Driver |
protected string | $body | Body email. |
from Driver |
protected string | $alt_body | Alternate body. |
from Driver |
protected string | $subject | Subyek email. |
from Driver |
protected array | $invalid_addresses | List alamat email yang tidak lolos validasi. |
from Driver |
protected array | $boundaries | Pembatas pesan. |
from Driver |
protected array | $headers | List header. |
from Driver |
protected array | $extras | List header kustom. |
from Driver |
protected bool | $pipelining | Aktifkan pipelining? |
from Driver |
protected string | $type | Tipe email. |
from Driver |
Methods
Set body email (HTML).
Tambahkan list penerima email (copy carbon).
Tambahkan list penerima email (back copy carbon).
Tambahkan list penerima balasan email.
Tambahkan ke list penerima.
Lampirkan file ke email.
Lampirkan file menggunakan inputan string.
Ambil header email.
Wrap teks.
Encode string menurut encoding yang diberikan.
Mereturn string alamat email yang telah diformat.
Buat alternate body.
Mulai proses transmisi data.
Details
__construct(array $config)
Konstruktor.
$this
pipelining(bool $activate = true)
Aktif/nonaktifkan pipelining driver.
$this
body(string $body)
Set body email.
$this
alt_body(string $body)
Set alternative body email.
$this
priority(string $priority)
Set prioritas email.
$this
html_body(string $html, bool $alternatify = null, bool $attachify = null)
Set body email (HTML).
Method ini juga membuat alternate body secara otomatis.
$this
subject(string $subject)
Set subyek email.
$this
from(string $email, bool|string $name = false)
Set alamat pengirim email.
$this
to(string|array $email, string|bool $name = false)
Tambahkan list penerima email.
$this
cc(string|array $email, string|bool $name = false)
Tambahkan list penerima email (copy carbon).
$this
bcc(string|array $email, string|bool $name = false)
Tambahkan list penerima email (back copy carbon).
$this
replyto(string|array $email, string|bool $name = false)
Tambahkan list penerima balasan email.
$this
return_path(string $email)
Set alamat return-path.
protected
append(string $list, string|array $email, string|bool $name = false)
Tambahkan ke list penerima.
$this
reset()
Reset properti email.
$this
header(string|array $headers, string $value = null)
Set header kustom.
$this
attach(string $file, bool $inline = false, string $cid = null, string $mime = null, string $name = null)
Lampirkan file ke email.
$this
string_attach(string $contents, string $filename, string $cid = null, bool $inline = false, string $mime = null)
Lampirkan file menggunakan inputan string.
static protected $this
mime(string $file)
Tebak mime-type file lampiran.
protected bool|array
validation()
Validasi seuruh alamat email.
bool
send(bool $validate = null)
Mulai proses pengiriman.
array
get_invalid_addresses()
Ambil list alamat email yang tidak lolos validasi.
protected
set_header($header, $value)
Set header email.
protected string|array
get_header(string $header = null, bool $formatted = true)
Ambil header email.
protected string
encode(string $header)
Encode mime header.
protected
get_attachment_headers($type, $boundary)
Ambil header lampiran.
protected array
build(bool $without_bcc = false)
Susun header dan body email.
static protected string
wrap(string $message, int $length, string $newline, bool $as_html = true)
Wrap teks.
static protected string
standardize(string $string, string $newline = null)
Standarisasi newline.
static protected string
encode_string(string $string, string $encoding, string $newline = null)
Encode string menurut encoding yang diberikan.
static protected string
format(array $addresses)
Mereturn string alamat email yang telah diformat.
static protected string
alternatify(string $html, int $wordwrap, string $newline)
Buat alternate body.
protected bool
transmit()
Mulai proses transmisi data.