a-blog cms PHP API Reference

Mailer extends Facade
in package

Table of Contents

Properties

$container  : Container

Methods

__callStatic()  : mixed
addBcc()  : Engine
addCc()  : Engine
attach()  : Engine
getInstance()  : Engine
get service instance
getMessage()  : string
init()  : Engine
parseAddress()  : array<string|int, mixed>
send()  : Engine
setBcc()  : Engine
setBody()  : Engine
setCc()  : Engine
setContainer()  : void
setFrom()  : Engine
setHtml()  : Engine
setMailer()  : void
setReplyTo()  : Engine
setSubject()  : Engine
setTo()  : Engine
getServiceAlias()  : string
getServiceInstance()  : mixed
isCache()  : bool

Properties

Methods

__callStatic()

public static __callStatic(string $method, array<string|int, mixed> $arguments) : mixed
Parameters
$method : string
$arguments : array<string|int, mixed>

addBcc()

public static addBcc(string $bcc) : Engine

メールのBCCを追加

Parameters
$bcc : string
Return values
Engine

addCc()

public static addCc(string $cc) : Engine

メールのCCを追加

Parameters
$cc : string
Return values
Engine

attach()

public static attach(string $path, string $filename) : Engine

メールに添付ファイルを追加

Parameters
$path : string
$filename : string
Return values
Engine

getInstance()

get service instance

public static getInstance() : Engine

メールエンジンのインスタンスを取得

Return values
Engine

getMessage()

public static getMessage() : string

メールの内容を取得

Return values
string

parseAddress()

public static parseAddress(string $txt) : array<string|int, mixed>

メールの送信先を解析

Parameters
$txt : string
Return values
array<string|int, mixed>

send()

public static send([bool $removeAttachedFiles = = 'true' ]) : Engine

メールを送信

Parameters
$removeAttachedFiles : bool = = 'true'
Return values
Engine

setBcc()

public static setBcc(string $bcc) : Engine

メールのBCCを設定

Parameters
$bcc : string
Return values
Engine

setBody()

public static setBody(string $body) : Engine

メールの本文を設定

Parameters
$body : string
Return values
Engine

setCc()

public static setCc(string $cc) : Engine

メールのCCを設定

Parameters
$cc : string
Return values
Engine

setFrom()

public static setFrom(string $from) : Engine

メールの送信者を設定

Parameters
$from : string
Return values
Engine

setHtml()

public static setHtml(string $html[, string|null $plain = = 'null' ]) : Engine

HTML形式のメールを設定

Parameters
$html : string
$plain : string|null = = 'null'
Return values
Engine

setMailer()

public static setMailer(Mailer $mailer) : void

メールエンジンを設定

Parameters
$mailer : Mailer

setReplyTo()

public static setReplyTo(string $reply_to) : Engine

メールの返信先を設定

Parameters
$reply_to : string
Return values
Engine

setSubject()

public static setSubject(string $subject) : Engine

メールの件名を設定

Parameters
$subject : string
Return values
Engine

setTo()

public static setTo(string $to) : Engine

メールの送信先を設定

Parameters
$to : string
Return values
Engine

getServiceAlias()

protected static getServiceAlias() : string
Return values
string

getServiceInstance()

protected static getServiceInstance(string $alias) : mixed
Parameters
$alias : string

isCache()

protected static isCache() : bool
Return values
bool

        
On this page

Search results