-
-
Notifications
You must be signed in to change notification settings - Fork 271
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#484: [bug] Addresses passed as string are not always interpreted cor…
…rectly
- Loading branch information
Showing
4 changed files
with
26 additions
and
11 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
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 |
---|---|---|
|
@@ -66,6 +66,18 @@ public void testOutlookBasicConversionsGithubIssue482() { | |
EmailAssert.assertThat(msg).hasNoAttachments(); | ||
} | ||
|
||
@Test | ||
public void testOutlookBasicConversionsGithubIssue484() { | ||
final Recipient ramonFrom = new Recipient("Boss Ramon", "[email protected]", null); | ||
final Recipient ramonTo = new Recipient("Boss Ramon", "[email protected]", TO); | ||
|
||
@NotNull Email msg = EmailConverter.outlookMsgToEmail(new File(RESOURCE_TEST_MESSAGES + "/#484 Email with problematic disposition_notification_to.msg")); | ||
EmailAssert.assertThat(msg).hasFromRecipient(ramonFrom); | ||
EmailAssert.assertThat(msg).hasSubject("subject"); | ||
EmailAssert.assertThat(msg).hasOnlyRecipients(ramonTo); | ||
EmailAssert.assertThat(msg).hasDispositionNotificationTo(ramonFrom); | ||
} | ||
|
||
@Test | ||
public void testOutlookUnicode() { | ||
final Recipient kalejs = new Recipient("[email protected]", "[email protected]", null); | ||
|
Binary file added
BIN
+69.5 KB
.../test/resources/test-messages/#484 Email with problematic disposition_notification_to.msg
Binary file not shown.