mail\MessageInterface getCharset()

getCharset() public abstract method Returns the character set of this message. public abstract string getCharset ( )return string The character set of this message.

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 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 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\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 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\MailEvent $message

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

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