File tree Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Expand file tree Collapse file tree 2 files changed +19
-4
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,14 @@ public function testIssueEmail() {
22
22
$ message = Message::fromFile ($ filename );
23
23
24
24
self ::assertSame ("☆第132号 「ガーデン&エクステリア」専門店のためのQ&Aサロン 【月刊エクステリア・ワーク】 " , (string )$ message ->subject );
25
+
26
+ $ attachments = $ message ->getAttachments ();
27
+
28
+ self ::assertSame (1 , $ attachments ->count ());
29
+
30
+ $ attachment = $ attachments ->first ();
31
+ self ::assertSame ("☆第132号 「ガーデン&エクステリア」専門店のためのQ&Aサロン 【月刊エクステリア・ワーク】 " , $ attachment ->filename );
32
+ self ::assertSame ("☆第132号 「ガーデン&エクステリア」専門店のためのQ&Aサロン 【月刊エクステリア・ワーク】 " , $ attachment ->name );
25
33
}
26
34
27
35
}
Original file line number Diff line number Diff line change 2
2
3
3
Subject : =?ISO-2022-JP?B?GyRCIXlCaBsoQjEzMhskQjlmISEhViUsITwlRyVzGyhCJhskQiUoJS8lOSVGJWolIiFXQGxMZ0U5JE4kPyRhJE4jURsoQiYbJEIjQSU1JW0lcyEhIVo3bjQpJSglLyU5JUYlaiUiISYlbyE8JS8hWxsoQg==?=
4
4
Date : Wed, 13 Sep 2017 13:05:45 +0200
5
- Content-Type : text/plain;
6
- charset="us-ascii"
7
- Content-Transfer-Encoding : quoted-printable
5
+ MIME-Version : 1.0
6
+ Content-Type : multipart/mixed;
7
+ boundary="------------B832AF745285AEEC6D5AEE42"
8
8
9
- Hi
9
+ Hi
10
+ --------------B832AF745285AEEC6D5AEE42
11
+ Content-Transfer-Encoding : base64
12
+ Content-Disposition : attachment;
13
+ filename="=?ISO-2022-JP?B?GyRCIXlCaBsoQjEzMhskQjlmISEhViUsITwlRyVzGyhCJhskQiUoJS8lOSVGJWolIiFXQGxMZ0U5JE4kPyRhJE4jURsoQiYbJEIjQSU1JW0lcyEhIVo3bjQpJSglLyU5JUYlaiUiISYlbyE8JS8hWxsoQg==?="
14
+
15
+ SGkh
16
+ --------------B832AF745285AEEC6D5AEE42--
You can’t perform that action at this time.
0 commit comments