ijse
V2EX  ›  问与答

请问下怎么转换 Office outlook 的 html 格式的邮件为正常 html ?

  •  
  •   ijse · Sep 30, 2014 · 3067 views
    This topic created in 4444 days ago, the information mentioned may be changed or developed.
    通过程序直接获取到的email的content body代码,里面有很多冗余的代码,而且图片src也是需要转换的,如

    <pre>
    <img border="0" width="1164" height="156" id="图片_x0020_11" src="cid:[email protected]" alt="说明: 说明: cid:[email protected]">
    </pre>

    想请问下有没有可以用的库可以用? 最好是node.js的。

    谢谢
    1 replies  •  2014-09-30 12:19:10 +08:00
    ijse
    ijse
    OP
    Sep 30, 2014
    1
    http://premailer.dialect.ca/ 类似这个网站提供的服务,,但最好是个工具库。。。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1169 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 17:36 · PVG 01:36 · LAX 09:36 · JFK 12:36
    ♥ Do have faith in what you're doing.