我正在使用send grid
为codeigniter
。我的目标是发送pdf
邮件。服务器上的文件权限错误
遇到未捕获的异常
类型:狂饮\ COMMON \异常\ InvalidArgumentException
消息:无法打开http://website.com/projectdemo/webusa/uploads/files/ash.pdf阅读
文件名:选择/ LAMPP/htdocs中/ projectdemo/webusa/application/third_party/sendEmail/vendor/guzzle/guzzle/src/Guzzle/Http/Message/PostFile.php
Line Number:53
我的PHP代码: -
$pdfFilePath = HOSTNAME."uploads/files/ash.pdf";
$this->sendMail($to, $subject, $message , $pdfFilePath);
向我们展示你的代码 –
PLZ看到编辑的代码 –
在根上载?或内部应用程序文件夹 –