diff --git a/parsemail_test.go b/parsemail_test.go index 281437f..cf4483c 100644 --- a/parsemail_test.go +++ b/parsemail_test.go @@ -503,6 +503,31 @@ So, "Hello".`, htmlBody: rfc2045exampleBhtml, textBody: "Time for the egg. Should we hardboil the egg or fry it. We can scramble it or poach it.", }, + 18: { + contentType: "multipart/alternative; boundary=\"000000000000ab2e1f05a26de586\"", + mailData: base64Content, + subject: "Saying Hello", + from: []mail.Address{ + { + Name: "John Doe", + Address: "jdoe@machine.example", + }, + }, + sender: mail.Address{ + Name: "Michael Jones", + Address: "mjones@machine.example", + }, + to: []mail.Address{ + { + Name: "Mary Smith", + Address: "mary@example.net", + }, + }, + messageID: "1234@local.machine.example", + date: parseDate("Fri, 21 Nov 1997 09:55:06 -0600"), + htmlBody: "