You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Tests/AWSLambdaEventsTests/SESTests.swift
+63-63Lines changed: 63 additions & 63 deletions
Original file line number
Diff line number
Diff line change
@@ -17,74 +17,74 @@ import XCTest
17
17
18
18
classSESTests:XCTestCase{
19
19
staticleteventBody="""
20
+
{
21
+
"Records": [
20
22
{
21
-
"Records": [
22
-
{
23
-
"eventSource": "aws:ses",
24
-
"eventVersion": "1.0",
25
-
"ses": {
26
-
"mail": {
27
-
"commonHeaders": {
28
-
"date": "Wed, 7 Oct 2015 12:34:56 -0700",
29
-
"from": [
30
-
"Jane Doe <janedoe@example.com>"
31
-
],
32
-
"messageId": "<0123456789example.com>",
33
-
"returnPath": "janedoe@example.com",
34
-
"subject": "Test Subject",
35
-
"to": [
36
-
"johndoe@example.com"
37
-
]
38
-
},
39
-
"destination": [
40
-
"johndoe@example.com"
41
-
],
42
-
"headers": [
43
-
{
44
-
"name": "Return-Path",
45
-
"value": "<janedoe@example.com>"
46
-
},
47
-
{
48
-
"name": "Received",
49
-
"value": "from mailer.example.com (mailer.example.com [203.0.113.1]) by inbound-smtp.eu-west-1.amazonaws.com with SMTP id o3vrnil0e2ic28trm7dfhrc2v0cnbeccl4nbp0g1 for johndoe@example.com; Wed, 07 Oct 2015 12:34:56 +0000 (UTC)"
"value": "from mailer.example.com (mailer.example.com [203.0.113.1]) by inbound-smtp.eu-west-1.amazonaws.com with SMTP id o3vrnil0e2ic28trm7dfhrc2v0cnbeccl4nbp0g1 for johndoe@example.com; Wed, 07 Oct 2015 12:34:56 +0000 (UTC)"
0 commit comments