public attachContent ( string $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. |