mail\MessageInterface getBcc()

getBcc() public abstract method Returns the Bcc (hidden copy receiver) addresses of this message. public abstract array getBcc ( )return array The Bcc (hidden copy receiver) addresses of this message.

mail\MessageInterface getFrom()

getFrom() public abstract method Returns the message sender. public abstract string getFrom ( )return string The sender

mail\MessageInterface getCc()

getCc() public abstract method Returns the Cc (additional copy receiver) addresses of this message. public abstract array getCc ( )return array The Cc (additional copy receiver) addresses of this message.

mail\MessageInterface attach()

attach() public abstract method Attaches existing file to the email message. public abstract $this attach ( $fileName, array $options = [] )$fileName string Full 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. return $this Self reference.

mail\MessageInterface attachContent()

attachContent() public abstract method Attach specified content as file for the email message. public abstract $this attachContent ( $content, array $options = [] )$content string Attachment file content. $options array Options for embed file. Valid options are: fileName: name, which should be used to attach file. contentType: attached file MIME type. return $this Self reference.

mail\MessageInterface embedContent()

embedContent() public abstract method Attach a content as file and return it's CID source. This method should be used when embedding images or other data in a message. public abstract string embedContent ( $content, array $options = [] )$content string Attachment file content. $options array Options for embed file. Valid options are: fileName: name, which should be used to attach file. contentType: attached file MIME type. return string Attachment CID.

mail\MessageInterface embed()

embed() public abstract method Attach a file and return it's CID source. This method should be used when embedding images or other data in a message. public abstract string embed ( $fileName, array $options = [] )$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. return string Attachment CID.

mail\MailEvent $isValid

$isValid public property Whether to continue sending an email. Event handlers of yii\mail\BaseMailer::EVENT_BEFORE_SEND may set this property to decide whether to continue send or not. public boolean $isValid = true

mail\MailEvent $isSuccessful

$isSuccessful public property If message was sent successfully. public boolean $isSuccessful = null

mail\MailEvent $message

$message public property The mail message being send. public yii\mail\MessageInterface $message = null