Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added tests for UNIXMbox.fromaddr method. Also changed behaviour of H…
…eaderField.new_from_port to return nil if it does not find a matching header in the port provided. Extended UNIXMbox.fromaddr to also search for EnvelopeSender and also made it a public method, not private - Thanks to Maarten O. for alerting these bugs
- Loading branch information
Showing
8 changed files
with
73 additions
and
9 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
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
Received: from mikel091a by oaamta05sl.mx.bigpond.com with SMTP id | ||
<20071021093820.JFMT24025.oaamta05sl.mx.bigpond.com@mikel091a> for | ||
<mikel@nowhere.com.else>; Sun, 21 Oct 2007 19:38:20 +1000 | ||
Date: Sun, 21 Oct 2007 19:38:13 +1000 | ||
To: Mikel <mikel@somewhere.com> | ||
Message-Id: <009601c813c6$19df3510$0437d30a@mikel091a> | ||
Subject: Testing outlook | ||
|
||
Hello Mikel | ||
|
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 |
---|---|---|
@@ -0,0 +1,11 @@ | ||
From mike@envelope_sender.com.au | ||
Received: from mikel091a by oaamta05sl.mx.bigpond.com with SMTP id | ||
<20071021093820.JFMT24025.oaamta05sl.mx.bigpond.com@mikel091a> for | ||
<mikel@nowhere.com.else>; Sun, 21 Oct 2007 19:38:20 +1000 | ||
Date: Sun, 21 Oct 2007 19:38:13 +1000 | ||
To: Mikel <mikel@somewhere.com> | ||
Message-Id: <009601c813c6$19df3510$0437d30a@mikel091a> | ||
Subject: Testing outlook | ||
|
||
Hello Mikel | ||
|
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
From mike@envelope_sender.com.au | ||
Received: from mikel091a by oaamta05sl.mx.bigpond.com with SMTP id | ||
<20071021093820.JFMT24025.oaamta05sl.mx.bigpond.com@mikel091a> for | ||
<mikel@nowhere.com.else>; Sun, 21 Oct 2007 19:38:20 +1000 | ||
Date: Sun, 21 Oct 2007 19:38:13 +1000 | ||
From: Mikel Lindsaar <mikel@from_address.com> | ||
To: Mikel <mikel@somewhere.com> | ||
Message-Id: <009601c813c6$19df3510$0437d30a@mikel091a> | ||
Subject: Testing outlook | ||
|
||
Hello Mikel | ||
|
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