Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
yii
mail
MessageInterface
send
yii\mail\MessageInterface::send PHP Method
MessageInterface Interface Documentation
Show file
Open project: yiisoft/yii2
send()
public
method
Sends this email message.
public
send
(
yii\mail\MailerInterface
$mailer
= null ) :
boolean
$mailer
yii\mail\MailerInterface
the mailer that should be used to send this message. If null, the "mail" application component will be used instead.
return
boolean
whether this message is sent successfully.
public function send(MailerInterface $mailer = null);
MessageInterface
attach
attachContent
embed
embedContent
getBcc
getCc
getCharset
getFrom
getReplyTo
getSubject
getTo
send
setBcc
setCc
setCharset
setFrom
setHtmlBody
setReplyTo
setSubject
setTextBody
setTo
toString