我正在使用SesClient's sendRawEmail()
,这是我的原始电子邮件。我能够收到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--
我能够收到文本部分但不能收到附件。