PHP 클래스 yii\mail\BaseMessage

By default, BaseMessage::send will use the "mail" application component to send the current message. The "mail" application component should be a mailer instance implementing MailerInterface.
또한 보기: BaseMailer
부터: 2.0
저자: Paul Klimov ([email protected])
상속: extends yii\base\Object, implements yii\mail\MessageInterface
파일 보기 프로젝트 열기: yiisoft/yii2 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
$mailer the mailer instance that created this message. For independently created messages this is null.

공개 메소드들

메소드 설명
__toString ( ) : string PHP magic method that returns the string representation of this object.
send ( yii\mail\MailerInterface $mailer = null ) : boolean Sends this email message.

메소드 상세

__toString() 공개 메소드

PHP magic method that returns the string representation of this object.
public __toString ( ) : string
리턴 string the string representation of this object.

send() 공개 메소드

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 no mailer is given it will first check if [[mailer]] is set and if not, the "mail" application component will be used instead.
리턴 boolean whether this message is sent successfully.

프로퍼티 상세

$mailer 공개적으로 프로퍼티

the mailer instance that created this message. For independently created messages this is null.
public $mailer