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
setFrom
yii\mail\MessageInterface::setFrom PHP 메소드
MessageInterface 0 문서
파일 보기
프로젝트 열기: yiisoft/yii2
setFrom()
공개
메소드
Sets the message sender.
public
setFrom
(
string
|
array
$from
)
$from
string
|
array
sender email address. You may pass an array of addresses if this message is from multiple people. You may also specify sender name in addition to email address using format: `[email => name]`.
public function setFrom($from);
MessageInterface
attach
attachContent
embed
embedContent
getBcc
getCc
getCharset
getFrom
getReplyTo
getSubject
getTo
send
setBcc
setCc
setCharset
setFrom
setHtmlBody
setReplyTo
setSubject
setTextBody
setTo
toString