[英]CakePHP 1.3: How we can send email with 2 or more (file) attachments in cakephp?
我想通过CakePHP邮件发送一些图像文件。
目前我正在使用$this->Email->attachments = array($Path.$fileName);
仅限一个文件我想在一封电子邮件中发送多个文件。
它的工作方式与手册中描述的一样,只需添加更多路径即可。
http://book.cakephp.org/1.3/view/1638/Attachments
$this->Email->attachments = array(
$Path . $fileName,
$Path . $someOtherFile
);
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.