yii\mail\MessageInterface::embedContent PHP 메소드

embedContent() 공개 메소드

This method should be used when embedding images or other data in a message.
public embedContent ( string $content, array $options = [] ) : string
$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.
리턴 string attachment CID.
    public function embedContent($content, array $options = []);