Created
September 24, 2016 13:07
-
-
Save bobjflong/58b4b031f4f9e6919b71e3e70e64beab to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| > m1 = Mail.new("To: [email protected]\r\nSubject: Yo!\r\n\r\nHello there") | |
| > m2 = Mail.new("To: [email protected]\r\nMessage-ID: <[email protected]>\r\nSubject: Yo!\r\n\r\nHello there") | |
| > message_id = m2.header[:message_id].value | |
| "<[email protected]>" | |
| > m1 == m2 | |
| true | |
| > message_id == m2.header[:message_id].value | |
| false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment