Page 2 of 2

Posted: Wed Oct 19, 2016 11:17 am
by Sergey Tkachenko
No changes are needed, you just need to use new version of our components.

If you use Delphi XE7 or newer, everything works automatically.
For older versions, download DIMime, and activate {$DEFINE RVUSEDMIME} in rvHtmlViewImport.pas

Posted: Wed Oct 19, 2016 12:32 pm
by xdbmw
That's what I expected too. I tried the demo using Berlin 10.1, TRV 16.9.5 and CIS 8.3, enabled defines in RichViewAcrions.inc:

{$DEFINE USERVHTML}
{$DEFINE USERVHTMLVIEWER}
{$DEFINE USECLEVERCOMPONENTS}

and TRVAControlPanel.ClHTTP assigned to clHttp1.

No image will be downloaded. I found an EInvalidGraphic exception in TRVGraphicHandler.LoadFromFile (RVGrHandler.pas)
Example for filenames (2nd email type):

http://data.lidl.de/d/d.gif?aabbccddmswf
http://www.reichelt.de/bilder/Newslette ... 6_head.png

Posted: Sun Oct 23, 2016 12:43 pm
by Sergey Tkachenko
About compatibility with the new version of CleverComponents: add clEmailAddress in "uses" of main.pas, the function GetEmailAddressParts is moved in this unit.

About the image files.
1) Some handled exceptions may occur while loading, they are visible only in IDE
2) The link http://data.lidl.de/d/d.gif?aabbccddmswf does not return an image.
The second link returns the correct PNG, so I do not know why it does not work in your case. Please recheck in the next update, it will include rewritten connections between RichViewActions and spell checkers and downloaders.
It will be uploaded in the beginning of the next week.

Posted: Thu Oct 27, 2016 1:02 pm
by Sergey Tkachenko
In the new version of TRichView, CleverComponents can be used by RichViewActions without modifying inc-files.
The components for integration CleverComponents and these demo projects are included in the TRichView installer.

Currently, this update is available for registered users of TRichView, but we plan to update the public trial in the next week.

However, you are right, there is a problem with loading external images in HTML.
The demo has TclHttp component on the email editing form, but it is used only when importing (pasting) files while editing the message.
I made changes, so not it is used when loading HTML from email message as well. I sent changes to you by email, these changes will be included in the next update.

Posted: Tue Nov 08, 2016 11:53 am
by Sergey Tkachenko
I removed the link to source code of these demos, because they are included in the new version of TRichView installer.
See the folder ThirdParty\CleverComponents\Demos\