Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/oop/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php SES未发送附件,但正在接收文本_Php_Amazon Web Services_Sendmail_Amazon Ses - Fatal编程技术网

Php SES未发送附件,但正在接收文本

Php SES未发送附件,但正在接收文本,php,amazon-web-services,sendmail,amazon-ses,Php,Amazon Web Services,Sendmail,Amazon Ses,我正在使用SesClient的sendrawmail(),这是我的原始电子邮件。我能够接收HTML消息,但没有附件 原始消息: Subject: Weekly Analytics Report - BleuPage Ultimate MIME-Version: 1.0 Content-type: multipart/alternative; boundary="d410de6c937c9bc6e2d50cfc1a6f116b860c558d" To: sohail@averox.com

我正在使用
SesClient的sendrawmail()
,这是我的原始电子邮件。我能够接收HTML消息,但没有附件

原始消息:

Subject: Weekly Analytics Report - BleuPage Ultimate MIME-Version: 1.0 
Content-type: multipart/alternative; 
boundary="d410de6c937c9bc6e2d50cfc1a6f116b860c558d" To: sohail@averox.com         
From: no-reply@bleupage.com --d410de6c937c9bc6e2d50cfc1a6f116b860c558d 
Content-Type: text/plain; Hi here's your weekly analytics report, PFA. 
--d410de6c937c9bc6e2d50cfc1a6f116b860c558d Content-Type: text/html; 
charset=iso-8859-1
Hi here's your weekly analytics report, PFA.

--d410de6c937c9bc6e2d50cfc1a6f116b860c558d Content-Type: application/pdf; 
name="weekly-595.pdf" Content-Description: "weekly-595.pdf" Content-
Disposition: attachment; filename="weekly-595.pdf"; size=45876; Content-
Transfer-Encoding: base64 
   //base_64_encoded_fileContents()
--d410de6c937c9bc6e2d50cfc1a6f116b860c558d Content-Type: application/pdf; 
name="weekly-596.pdf" Content-Description: "weekly-596.pdf" Content-
Disposition: attachment; filename="weekly-596.pdf"; size=49094; Content-
Transfer-Encoding: base64 
   //base_64_encoded_fileContents()
--d410de6c937c9bc6e2d50cfc1a6f116b860c558d--

我能够接收文本部分,但没有可用的附件。

邮件(包括附件)的总大小必须小于10 MB。大小已小于10 MB,文件大小分别为45 KB和48 KB。使用邮件(包括附件)的总大小进行求解时,大小必须小于10 MB。大小已小于10 MB,文件大小分别为45KB和48KB。使用