【问题标题】:Getting `=` in email html在电子邮件 html 中获取 `=`
【发布时间】:2014-04-25 05:27:12
【问题描述】:

下面是我从 asp.net 应用程序发送的 html

 <HTML>

<BODY>
    <img src='http://10.1.1.42:8090/EmailLogo/8aaebe52-3758-485f-8c52-7782707a4c66.jpg' />
    <br/>
    <div style='font-family:Arial, Tahoma; font-size:13px; line-height:18px; color:#000; background:#edfcff; padding:15px; border:1px solid #b6dee8;'>
        <div style='font-size:18px; color:#2c8cbe; margin-bottom:15px;'>HH,</div>
        <div>Test 1</div>
    </div>
    <div style='color: rgb(104, 104, 104); font-size: 12px; font-family: lucida grande, Tahoma, Verdana, Arial, sans-serif; border: medium none; padding: 10px;'>
        <br />IMPORTANT NOTICE:This email message and any attachments are intended only for the use of the addressee named above. If you are not the intended recipient, any dissemination, distribution or copying is strictly prohibited. If you received this
        message in error, please immediately notify the sender by replying to this email message or by telephone. Thank you.</div>
</BODY>

</HTML>

但是邮件中呈现的html如下:

<HTML>

<BODY>
    <img src=3D 'http://10.1.1.42:8099/EmailLogo/8aaebe52-=
3758-485f-8c52-7782707a4c66.jpg' />
    <br/>
    <div style=3D 'font-family=
:Arial, Tahoma; font-size:13px; line-height:18px; color:#000; bac=
kground:#edfcff; padding:15px; border:1px solid #b6dee8;'>
        <div st=y le=3D 'font-size:18px; color:#2c8cbe; margin-bottom:15px;'>HH,</d=i v>
            <div>Test 1</div>
        </div>
        <div style=3D 'color: rgb(104, 104, 104)=
; font-size: 12px; font-family: lucida grande, Tahoma, Verdana, A=
rial, sans-serif; border: medium none; padding: 10px;'>
            <br />IMPO= RTANT NOTICE:This email message and any attachments are intended = only for the use of the addressee named above. If you are not the= intended recipient, any dissemination, distribution or copying i= s strictly prohibited. If you received
            this message in error, ple= ase immediately notify the sender by replying to this email messa= ge or by telephone. Thank you.</div>
</BODY>

</HTML>

您可以注意到= 出现在很多地方。有人知道为什么吗??

【问题讨论】:

标签: html asp.net


【解决方案1】:

请将编码改为 UTF-8

【讨论】:

    猜你喜欢
    • 2013-04-05
    • 2012-11-28
    • 1970-01-01
    • 2021-08-07
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多