Outlook shows HTML as TEXT

I send email from my ruby on rails app. All email clients display fine my email (gmail, the bat, thunderbird etc) but not Outlook :( In outlook i see this: my message text --mimepart_4e514d8786c25_d59..fdab8042069c Content-Type: multipart/related; charset=f-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline --mimepart_4e514d8786c25_d59..fdab8042069c Content-Type: text/plain; charset=f-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline my email text message --mimepart_4e514d8786c25_d59..fdab8042069c Content-Type: text/html; charset=f-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline my email html code (

test

Subject: =?utf-8?Q?=D0=97=D0=B0=D0=BF=D1=80=D0=BE=D1=81_=D0=B4=D0=BB=D1=8F_=D0=BC=D0=B5=D0=BD=D0=B5=D0=B4=D0=B6=D0=B5=D1=80=D0=B0_=D0=BA=D0=BE=D0=BC=D0=BF=D0=B0=D0=BD=D0=B8=D0=B8_?= Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=mimepart_4e514d8786c25_d59..fdab8042069c User-Agent: Rails Application X-Mailer: Rails Mailer Return-Path: admin@xxx.ccc X-Yandex-Forward: 8a20ef6ffc7eeb7ef7c8d000508718e0 **The same email from gmail, where all display good both for text and html mode:** Delive Message-Id: <4e514d88.100fdf0a.403c.31a7@mx.xxx.com> Subject: xxx Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=mimepart_4e514d8786c25_d59..fdab8042069c User-Agent: Rails Application X-Mailer: Rails Mailer X-Yandex-Forward: 8a20ef6ffc7eeb7ef7c8d000508718e0 --mimepart_4e514d8786c25_d59..fdab8042069c Content-Type: multipart/alternative; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline email text --mimepart_4e514d8786c25_d59..fdab8042069c Content-Type: multipart/related; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline --mimepart_4e514d8786c25_d59..fdab8042069c Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline email text (plain text) --mimepart_4e514d8786c25_d59..fdab8042069c Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline email text(html) --mimepart_4e514d8786c25_d59..fdab8042069c--
What's the point of the empty multipart/related alternative on top? I don't think it's legal to send a part of type multipart/* without defining an inner separator for it and giving it a terminating line.

以上就是Outlook shows HTML as TEXT的详细内容,更多请关注web前端其它相关文章!

赞(0) 打赏
未经允许不得转载:web前端首页 » HTML5 答疑

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址

前端开发相关广告投放 更专业 更精准

联系我们

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

微信扫一扫打赏