This repository has been archived by the owner on Dec 6, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from z38/feature-originalrecipient
Support for OriginalRecipient field
- Loading branch information
Showing
3 changed files
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,6 +26,7 @@ | |
"Name": "Another Cc" | ||
} | ||
], | ||
"OriginalRecipient": "451d9b70cf9364d23ff6f9d51d870251569e+ahoy@inbound.postmarkapp.com", | ||
"ReplyTo": "[email protected]", | ||
"Subject": "This is an inbound message", | ||
"MessageID": "22c74902-a0c1-4511-804f2-341342852c90", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,6 +32,11 @@ public function testDate() | |
$this->assertEquals($this->inbound->Date(), 'Thu, 5 Apr 2012 16:59:01 +0200'); | ||
} | ||
|
||
public function testOriginalRecipient() | ||
{ | ||
$this->assertEquals($this->inbound->OriginalRecipient(), '451d9b70cf9364d23ff6f9d51d870251569e+ahoy@inbound.postmarkapp.com'); | ||
} | ||
|
||
public function testReplyTo() | ||
{ | ||
$this->assertEquals($this->inbound->ReplyTo(), '[email protected]'); | ||
|