<i id='YAfeZ'><tr id='YAfeZ'><dt id='YAfeZ'><q id='YAfeZ'><span id='YAfeZ'><b id='YAfeZ'><form id='YAfeZ'><ins id='YAfeZ'></ins><ul id='YAfeZ'></ul><sub id='YAfeZ'></sub></form><legend id='YAfeZ'></legend><bdo id='YAfeZ'><pre id='YAfeZ'><center id='YAfeZ'></center></pre></bdo></b><th id='YAfeZ'></th></span></q></dt></tr></i><div id='YAfeZ'><tfoot id='YAfeZ'></tfoot><dl id='YAfeZ'><fieldset id='YAfeZ'></fieldset></dl></div>
    1. <small id='YAfeZ'></small><noframes id='YAfeZ'>

    2. <legend id='YAfeZ'><style id='YAfeZ'><dir id='YAfeZ'><q id='YAfeZ'></q></dir></style></legend><tfoot id='YAfeZ'></tfoot>

          <bdo id='YAfeZ'></bdo><ul id='YAfeZ'></ul>

        Outlook 自动清理我的换行符并搞砸了我的电子邮件格式

        Outlook autocleaning my line breaks and screwing up my email format(Outlook 自动清理我的换行符并搞砸了我的电子邮件格式)
      1. <legend id='9drXg'><style id='9drXg'><dir id='9drXg'><q id='9drXg'></q></dir></style></legend>
        • <small id='9drXg'></small><noframes id='9drXg'>

          <i id='9drXg'><tr id='9drXg'><dt id='9drXg'><q id='9drXg'><span id='9drXg'><b id='9drXg'><form id='9drXg'><ins id='9drXg'></ins><ul id='9drXg'></ul><sub id='9drXg'></sub></form><legend id='9drXg'></legend><bdo id='9drXg'><pre id='9drXg'><center id='9drXg'></center></pre></bdo></b><th id='9drXg'></th></span></q></dt></tr></i><div id='9drXg'><tfoot id='9drXg'></tfoot><dl id='9drXg'><fieldset id='9drXg'></fieldset></dl></div>
            <bdo id='9drXg'></bdo><ul id='9drXg'></ul>

                  <tbody id='9drXg'></tbody>
                <tfoot id='9drXg'></tfoot>

                  本文介绍了Outlook 自动清理我的换行符并搞砸了我的电子邮件格式的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  I'm sending an email using the dotnet framework. Here is the template that I'm using to create the message:

                  Date of Hire: %HireDate%
                  Annual Salary: %AnnualIncome%
                  Reason for Request: %ReasonForRequest%
                  
                  Name of Voluntary Employee: %FirstName% %LastName%
                  Total Coverage Applied For:  %EECoverageAmount%
                  Guaranteed Coverage Portion: %GICoveragePortion%
                  Amount Subject to Medical Evident: %GIOverage%
                  

                  When the messages is received in outlook, outlook tells me "Extra line breaks in this message were removed". And the message displays like this:

                  Date of Hire: 9/28/2001
                  Annual Salary: $100,000
                  Reason for Request: New Hire
                  
                  Name of Voluntary Employee: Ronald Weasley Total Coverage Applied For:  $500,000 Guaranteed Coverage Portion: $300,000.00 Amount Subject to Medical Evident: $200,000
                  

                  Note how Outlook incorrectly removes needed line breaks after the name, EECoverageAmount, etc...

                  It's important for the email recepients to get a correctly formatted email, and I have to assume that some of them use outlook 2003. I also can't assume they will know enough to shutoff the autoclean feature to get the message to format properly.

                  I have viewed these messages in other mail clients and they display correctly

                  some more information:

                  • I am using UTF-8 BodyEncoding (msg.BodyEncoding = System.Text.Encoding.UTF8)
                  • The msg.Body is being read from a UTF-8 encoded text file, and each line is terminated with a crlf.

                  Question: How do I change the format of the message to avoid this problem?

                  解决方案

                  Start every line with 2 spaces and outlook will be "tricked" into keeping your formatting.

                  So change

                  Date of Hire: %HireDate%
                  Annual Salary: %AnnualIncome%
                  Reason for Request: %ReasonForRequest%
                  
                  Name of Voluntary Employee: %FirstName% %LastName%
                  Total Coverage Applied For:  %EECoverageAmount%
                  Guaranteed Coverage Portion: %GICoveragePortion%
                  Amount Subject to Medical Evident: %GIOverage%
                  

                  to

                    Date of Hire: %HireDate%
                    Annual Salary: %AnnualIncome%
                    Reason for Request: %ReasonForRequest%
                  
                    Name of Voluntary Employee: %FirstName% %LastName%
                    Total Coverage Applied For:  %EECoverageAmount%
                    Guaranteed Coverage Portion: %GICoveragePortion%
                    Amount Subject to Medical Evident: %GIOverage%
                  ^^ <--- Two extra spaces at the start of every line
                  

                  Here is the article I found when researching this problem which goes into a little more depth than my answer.

                  这篇关于Outlook 自动清理我的换行符并搞砸了我的电子邮件格式的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  WPF ListBox not updating with the ItemsSource(WPF ListBox 未使用 ItemsSource 更新)
                  Problem getting list box items added through jquery in code behind(在后面的代码中通过 jquery 添加列表框项目时出现问题)
                  Selected item in list box is null(列表框中的选定项为空)
                  ASP.NET: Listbox datasource and databind(ASP.NET:列表框数据源和数据绑定)
                  .NET 3.5 Listbox Selected Values (Winforms)(.NET 3.5 列表框选定值(Winforms))
                  Why does the WPF listbox change selection on mouse button down rather than button up?(为什么 WPF 列表框在鼠标按下而不是按下按钮时更改选择?)
                  1. <i id='9dvSG'><tr id='9dvSG'><dt id='9dvSG'><q id='9dvSG'><span id='9dvSG'><b id='9dvSG'><form id='9dvSG'><ins id='9dvSG'></ins><ul id='9dvSG'></ul><sub id='9dvSG'></sub></form><legend id='9dvSG'></legend><bdo id='9dvSG'><pre id='9dvSG'><center id='9dvSG'></center></pre></bdo></b><th id='9dvSG'></th></span></q></dt></tr></i><div id='9dvSG'><tfoot id='9dvSG'></tfoot><dl id='9dvSG'><fieldset id='9dvSG'></fieldset></dl></div>
                    • <legend id='9dvSG'><style id='9dvSG'><dir id='9dvSG'><q id='9dvSG'></q></dir></style></legend>

                      <tfoot id='9dvSG'></tfoot>
                        <tbody id='9dvSG'></tbody>

                            <bdo id='9dvSG'></bdo><ul id='9dvSG'></ul>

                          • <small id='9dvSG'></small><noframes id='9dvSG'>