Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
yii
mail
MessageInterface
embed
yii\mail\MessageInterface::embed PHP 메소드
MessageInterface 0 문서
파일 보기
프로젝트 열기: yiisoft/yii2
embed()
공개
메소드
This method should be used when embedding images or other data in a message.
public
embed
(
string
$fileName
,
array
$options
= [] ) :
string
$fileName
string
file name.
$options
array
options for embed file. Valid options are: - fileName: name, which should be used to attach file. - contentType: attached file MIME type.
리턴
string
attachment CID.
public function embed($fileName, array $options = []);
MessageInterface
attach
attachContent
embed
embedContent
getBcc
getCc
getCharset
getFrom
getReplyTo
getSubject
getTo
send
setBcc
setCc
setCharset
setFrom
setHtmlBody
setReplyTo
setSubject
setTextBody
setTo
toString