Double decimal point in new line emails

When I send an HTML letter (actually just generating .eml files rather than sending at the moment) using the .NET class System.Net.Mail.MailMessage, it seems to add extra decimal points to some of my numbers.

It adds an extra decimal point when the number is split into a new line, and the first character of the new line would be a period.

Input:

[snip]27.50[snip]137.50[snip]

Output:

[snip]27.=
50[snip]=
[snip]137=
..50[snip]

When you open in Outlook, the first number is displayed as 27.00, and the second (understandable) produces 137..50(too many decimal points!)

I know that equals is a "soft line break". Is there any syntax for extra .?

Why does it display 2 points? Can i stop this?

Non-snipped output:

<tr>=0D=0A          <td>=
Units</td><td>Standard Rate</td><td></td><td>25.00</td><td>27.=
50</td><td>25.00</td><td>625.00</td><td>687.50</td>=0D=0A       </tr><=
tr>=0D=0A           <td>Timesheet Units</td><td>Standard Rate</td><td></t=
d><td>25.00</td><td>27.50</td><td>5.00</td><td>125.00</td><td>137=
..50</td>=0D=0A     </tr>
+4
1

, , .

RFC 2821 4.5.2:

4.5.2

-     " .     , " " .     , .     :

  • SMTP . , .
  • SMTP , . , . , , .

, , , . , Outlook , , ...

+2

Source: https://habr.com/ru/post/1535718/


All Articles