I need to send Email from my Delphi application. What I need is a WYSIWYG editor that I can use in the application to create the body of the email in HTML. Any ideas? Thanks, Pieter.
我需要从我的Delphi应用程序发送电子邮件。我需要的是一个WYSIWYG编辑器,我可以在应用程序中使用它来创建HTML中的电子邮件正文。有任何想法吗?谢谢,彼得。
5 个解决方案
#1
8
We've used TRichView just recently to do HTML email functionality and found it quite adequate. We did evaluate WpTools and it does do exactly what we wanted however for our needs it was just too expensive especially when we always try and purchase site licences.
我们最近才使用TRichView来做HTML电子邮件功能,并且发现它非常适合。我们确实评估了WpTools,它确实做了我们想要的,但是对于我们的需求来说它太贵了,特别是当我们总是尝试购买站点许可证时。
One thing we did find with WpTools is that it did implement a visual component or set of visual components that you could drop onto a form that implement the whole WYSIWYG UI (e.g. toolbars and such). It took a bit longer with TRichView to achieve the same thing.
我们用WpTools找到的一件事是它确实实现了一个可视组件或一组可视组件,你可以将它们放到一个实现整个WYSIWYG UI的表单上(例如工具栏等)。使用TRichView花了一点时间来实现同样的目的。
Regarding conversion from/to html - TRichView can export html natively, however requires third-party libraries to import html which unfortunately (for us) are not commercially backed (i.e. community driven). So we've resorted to storing all content in RichText natively and only when sending the email do we convert it to html. WpTools has the ability to import/export to html natively.
关于从/到html的转换 - TRichView可以本地导出html,但是需要第三方库来导入html,不幸的是(对我们而言)没有商业支持(即社区驱动)。所以我们原生地将所有内容存储在RichText中,只有在发送电子邮件时才将其转换为html。 WpTools能够本地导入/导出到html。
#2
5
I have been looking for this as well for several years now.
我几年来一直在寻找这个。
-
The best solution I found, until now, is WpTools from WpCubed. It's not an exact Html editor, but an advanced word processing component which offers a copy mode to and from html. I am currently working on using this component in my Sitestepper web creation software (in the StepEdit html-editor to offer wysiwyg possibility). I think that certainly for email editing this could be used (although maybe a bit pricy for what you are looking for). I know the author is working an a better exchange to and from html.
到目前为止,我发现的最佳解决方案是来自WpCubed的WpTools。它不是一个精确的Html编辑器,而是一个先进的文字处理组件,它提供了与html之间的复制模式。我目前正在使用我的Sitestepper网页创建软件中的这个组件(在StepEdit html编辑器中提供wysiwyg的可能性)。我认为当然可以使用电子邮件编辑(尽管对于您正在寻找的内容可能有点贵)。我知道作者正在与html进行更好的交流。
But to be honest, I don't think you will find anything if you need a Delphi component.
但说实话,如果你需要一个Delphi组件,我认为你不会发现任何东西。
-
I used to use HtmlEdit from Purposesoft, but I think this product has got his limitations and it's not fully supported anymore. But maybe for your purpose it's ok.
我曾经使用过Purposesoft的HtmlEdit,但我认为这个产品已经受到限制,而且它不再受到完全支持了。但也许为了你的目的,它没关系。
#3
3
I've used EmbeddedWB from bsalsa. Basically it is the same as Delphi's TWebBrowser, but you have access to more features of the IE automation object. In the browser I loaded an HTML which looks like:
我使用过bsalsa的EmbeddedWB。基本上它与Delphi的TWebBrowser相同,但您可以访问IE自动化对象的更多功能。在浏览器中我加载了一个HTML,看起来像:
<html>
<head>
<title>Edit description</title>
</head>
<body contenteditable="true">
</body>
</html>
Marking an element by IE specific attribute "contenteditable", the IE implementation let's you edit the element's inner HTML in a WYSIWYG manner. You can get the content by automation calls (check bsalsa.com to see how to read the edited content). If you get the basics it is pretty simple to create a full blown HTML editor.
通过IE特定属性“contenteditable”标记元素,IE实现允许您以WYSIWYG方式编辑元素的内部HTML。您可以通过自动呼叫获取内容(请查看bsalsa.com以了解如何阅读已编辑的内容)。如果您掌握了基础知识,那么创建一个完整的HTML编辑器非常简单。
Good luck!
祝你好运!
#4
1
My answer using Bsalsa Web Browser Components - very easy complete HTML editor/viewer. delphi-how-do-i-make-a-basic-wysiwyg-html-editor-using-delphi
我使用Bsalsa Web浏览器组件的答案 - 非常简单的完整HTML编辑器/查看器。德尔福怎么办-I-使-A-基本-所见即所得的HTML编辑器,采用德尔福
#5
0
If using IE COM based components is not a problem then you can use this free product
如果使用基于IE COM的组件不是问题,那么您可以使用此免费产品
http://bsalsa.com/product.html
http://bsalsa.com/product.html
I have just recently needed a free HTML WYSIWYG editor and I thinks this is the only thing out there. For me it works fine, but I don't need complicated elements. They can be done, but will a little more work.
我最近需要一个免费的HTML WYSIWYG编辑器,我认为这是唯一的东西。对我来说它工作正常,但我不需要复杂的元素。他们可以完成,但会更多一些工作。
#1
8
We've used TRichView just recently to do HTML email functionality and found it quite adequate. We did evaluate WpTools and it does do exactly what we wanted however for our needs it was just too expensive especially when we always try and purchase site licences.
我们最近才使用TRichView来做HTML电子邮件功能,并且发现它非常适合。我们确实评估了WpTools,它确实做了我们想要的,但是对于我们的需求来说它太贵了,特别是当我们总是尝试购买站点许可证时。
One thing we did find with WpTools is that it did implement a visual component or set of visual components that you could drop onto a form that implement the whole WYSIWYG UI (e.g. toolbars and such). It took a bit longer with TRichView to achieve the same thing.
我们用WpTools找到的一件事是它确实实现了一个可视组件或一组可视组件,你可以将它们放到一个实现整个WYSIWYG UI的表单上(例如工具栏等)。使用TRichView花了一点时间来实现同样的目的。
Regarding conversion from/to html - TRichView can export html natively, however requires third-party libraries to import html which unfortunately (for us) are not commercially backed (i.e. community driven). So we've resorted to storing all content in RichText natively and only when sending the email do we convert it to html. WpTools has the ability to import/export to html natively.
关于从/到html的转换 - TRichView可以本地导出html,但是需要第三方库来导入html,不幸的是(对我们而言)没有商业支持(即社区驱动)。所以我们原生地将所有内容存储在RichText中,只有在发送电子邮件时才将其转换为html。 WpTools能够本地导入/导出到html。
#2
5
I have been looking for this as well for several years now.
我几年来一直在寻找这个。
-
The best solution I found, until now, is WpTools from WpCubed. It's not an exact Html editor, but an advanced word processing component which offers a copy mode to and from html. I am currently working on using this component in my Sitestepper web creation software (in the StepEdit html-editor to offer wysiwyg possibility). I think that certainly for email editing this could be used (although maybe a bit pricy for what you are looking for). I know the author is working an a better exchange to and from html.
到目前为止,我发现的最佳解决方案是来自WpCubed的WpTools。它不是一个精确的Html编辑器,而是一个先进的文字处理组件,它提供了与html之间的复制模式。我目前正在使用我的Sitestepper网页创建软件中的这个组件(在StepEdit html编辑器中提供wysiwyg的可能性)。我认为当然可以使用电子邮件编辑(尽管对于您正在寻找的内容可能有点贵)。我知道作者正在与html进行更好的交流。
But to be honest, I don't think you will find anything if you need a Delphi component.
但说实话,如果你需要一个Delphi组件,我认为你不会发现任何东西。
-
I used to use HtmlEdit from Purposesoft, but I think this product has got his limitations and it's not fully supported anymore. But maybe for your purpose it's ok.
我曾经使用过Purposesoft的HtmlEdit,但我认为这个产品已经受到限制,而且它不再受到完全支持了。但也许为了你的目的,它没关系。
#3
3
I've used EmbeddedWB from bsalsa. Basically it is the same as Delphi's TWebBrowser, but you have access to more features of the IE automation object. In the browser I loaded an HTML which looks like:
我使用过bsalsa的EmbeddedWB。基本上它与Delphi的TWebBrowser相同,但您可以访问IE自动化对象的更多功能。在浏览器中我加载了一个HTML,看起来像:
<html>
<head>
<title>Edit description</title>
</head>
<body contenteditable="true">
</body>
</html>
Marking an element by IE specific attribute "contenteditable", the IE implementation let's you edit the element's inner HTML in a WYSIWYG manner. You can get the content by automation calls (check bsalsa.com to see how to read the edited content). If you get the basics it is pretty simple to create a full blown HTML editor.
通过IE特定属性“contenteditable”标记元素,IE实现允许您以WYSIWYG方式编辑元素的内部HTML。您可以通过自动呼叫获取内容(请查看bsalsa.com以了解如何阅读已编辑的内容)。如果您掌握了基础知识,那么创建一个完整的HTML编辑器非常简单。
Good luck!
祝你好运!
#4
1
My answer using Bsalsa Web Browser Components - very easy complete HTML editor/viewer. delphi-how-do-i-make-a-basic-wysiwyg-html-editor-using-delphi
我使用Bsalsa Web浏览器组件的答案 - 非常简单的完整HTML编辑器/查看器。德尔福怎么办-I-使-A-基本-所见即所得的HTML编辑器,采用德尔福
#5
0
If using IE COM based components is not a problem then you can use this free product
如果使用基于IE COM的组件不是问题,那么您可以使用此免费产品
http://bsalsa.com/product.html
http://bsalsa.com/product.html
I have just recently needed a free HTML WYSIWYG editor and I thinks this is the only thing out there. For me it works fine, but I don't need complicated elements. They can be done, but will a little more work.
我最近需要一个免费的HTML WYSIWYG编辑器,我认为这是唯一的东西。对我来说它工作正常,但我不需要复杂的元素。他们可以完成,但会更多一些工作。