嵌入位于“公共”目录下的资产

时间:2018-07-29 17:23:47

标签: swiftmailer

$data['image_src'] = $message->embed(Swift_Image::fromPath('path/to/MyImagesDirectory'));

我必须写的路径的根应该是什么?

0 个答案:

没有答案