Skip to content

Commit 21feddc

Browse files
Include bug fix for iphone text e-mail with multipart text blocks.
1 parent 1631887 commit 21feddc

6 files changed

Lines changed: 257 additions & 587 deletions

File tree

Class Library/ActiveUp.Net.Common/Parser.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ private static void DispatchPart(MimePart part, ref Message message)
250250
else
251251
{
252252
message.BodyText.Charset = part.Charset;
253-
message.BodyText.Text = part.TextContent;
253+
message.BodyText.Text += part.TextContent;
254254
}
255255
}
256256
else if (part.ContentType.SubType.ToLower().Equals("html"))

Class Library/ActiveUp.Net.Tests/ActiveUp.Net.Tests.csproj

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,9 @@
129129
<None Include="resource\quoted-printable-notepad-linebreak.eml">
130130
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
131131
</None>
132+
<None Include="resource\received-by-iphone-textonly.eml">
133+
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
134+
</None>
132135
<None Include="resource\testmail-quoted-printable.eml">
133136
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
134137
</None>

Class Library/ActiveUp.Net.Tests/Common/MimePartTests.cs

Lines changed: 17 additions & 5 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)