简体   繁体   English

将RTF发送为电子邮件php

[英]Sending RTF as email php

I've got a field that contains an RTF document (stored as text) that I want to use as a body of an email. 我有一个包含要用作电子邮件正文的RTF文档(存储为文本)的字段。 Is there any way of sending it as the body of the email using PHPMailer? 有什么方法可以使用PHPMailer将其作为电子邮件的正文发送吗?

First you have to convert rtf to html. 首先,您必须将rtf转换为html。 Use this: Free (preferably) PHP RTF to HTML converter? 使用这个: 免费(最好是)PHP RTF到HTML转换器?

then send the html text in email 然后在电子邮件中发送html文本

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM