Ich habe eine HTML über Outlook gesendet.C# senden HTML-E-Mail über Outlook 2013
In der html, richtete ich ein Wort nach rechts, aber in der empfangenen E-Mail ist das Wort gemischt - der erste Buchstabe ist der letzte Buchstabe geworden.
Dies tritt nur auf, wenn der erste Buchstabe eine Zahl ist.
Ich habe die folgende html:
<div dir="rtl" style="margin: 20px auto; width: 650px; text-align: center; font-family: Tahoma;">
<table dir="rtl" style="width: 650px; margin: 0 auto; text-align: right; font-family: Tahoma; font-size: 0; font-weight: normal; color: #000;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="background-color: #d0f2f6; padding: 15px 20px; margin: 0; color: #135861; font-size: 13px; font-weight: 400;">
שלום
<br /><br />
המספר הוא:<br />
<b dir="rtl" style="font-family:consolas">1fD9xG8j</b>
<br /><br />
</td>
</tr>
</tbody>
</table>
</div>
Aber ich bekam die folgende Mail:
Warum Aussichten das Wort '1fD9xG8j' auf 'fD9xG8j1' ändern?
Dies ist der Code in C#, die die E-Mail gesendet:
var smtp = new SmtpClient(SmtpServer);
var message = new MailMessage();
message.Subject = subject.Trim();
message.Body = body.Trim();
message.IsBodyHtml = true;
message.BodyEncoding = Encoding.UTF8;
smtp.Send(message);
http://stackoverflow.com/questions/26614474/when-line-of-text-starts-with-a-number-a-number-shows-up-on-right-in-rtl-mode – jtmnt