douxun4924 2014-11-20 05:51
浏览 25

PHP将html导出到Outlook oft

We use an in house software to generate html templates for our clients. We spend to much time teaching our clients how to save the templates. We are trying to track down a way to export the html into a .oft template.

It is easy enough to create the files but the encryption or encoding of the file is throwing us through a loop.

Is there a library or code that we can use to convert an html file? We would prefer to work with php but we can work with other languages if needed.

  • 写回答

1条回答 默认 最新

  • dqftyn1717 2014-11-20 05:56
    关注

    You can try to use Redemption for that (it can be used from PHP) - create an instance of the RDOSesssion object, call RDOSession.CreateMessageFromMsgFile (returns RDOMail object), set the RDOMail.HTMLBody property, save it as an OFT file (RDOMail.SaveAs(..., olTemplate)

    评论

报告相同问题?