Comments on: Display HTML email in windows application https://www.limilabs.com/blog/display-html-email-in-windows-application Using Limilabs .net components Tue, 25 Jun 2013 21:22:04 +0000 hourly 1 https://wordpress.org/?v=6.6.5 By: Limilabs support https://www.limilabs.com/blog/display-html-email-in-windows-application#comment-26051 Sun, 22 Jul 2012 15:05:02 +0000 http://www.limilabs.com/blog/?p=1301#comment-26051 In reply to Daryl.

@Daryl

MailBorwserControl inherits from WebBrowser class, if you can do this with WebBrowser it is also possible using MailBorwserControl.

]]>
By: Daryl https://www.limilabs.com/blog/display-html-email-in-windows-application#comment-25873 Fri, 20 Jul 2012 13:08:56 +0000 http://www.limilabs.com/blog/?p=1301#comment-25873 Most email programs prevent images from being downloaded and displayed – is there any way of doing this using MailBrowserControl?

]]>
By: Limilabs support https://www.limilabs.com/blog/display-html-email-in-windows-application#comment-11175 Sat, 05 May 2012 10:50:38 +0000 http://www.limilabs.com/blog/?p=1301#comment-11175 In reply to Scott.

@Scott

MailBrowserControl control inherits from standard .NET WebBrowser control.
It exposes same events. You can use Navigating event:

mailBrowserControl.Navigating += (object sender, WebBrowserNavigatingEventArgs e) =>
                                    {
                                        string url = e.Url.ToString();
                                        e.Cancel = true;
                                    };

> is there a way to know how wide the email being rendered
I don’t think this is possible.

]]>
By: Scott https://www.limilabs.com/blog/display-html-email-in-windows-application#comment-10579 Tue, 01 May 2012 13:31:04 +0000 http://www.limilabs.com/blog/?p=1301#comment-10579 I was wondering if there is an event for this control so that rather then the mailbrowser control opening links, that my program can do it instead.

Also, is there a way to know how wide the email being rendered is so that the control can be sized to fit it?

]]>
By: Limilabs support https://www.limilabs.com/blog/display-html-email-in-windows-application#comment-1517 Mon, 12 Sep 2011 05:34:54 +0000 http://www.limilabs.com/blog/?p=1301#comment-1517 In reply to Leandro.

@Leandro

Mail.dll does not contain ASP.NET control for that purpose.

You can however use IMail.SaveHtmlAs(string path)

This method saves HTML version of the message as regular HTML file,
also saves all visual elements as files to the same folder,
finally it also changes html content of the file, so it references the
files saved on disk.

]]>
By: Leandro https://www.limilabs.com/blog/display-html-email-in-windows-application#comment-1516 Fri, 09 Sep 2011 14:38:29 +0000 http://www.limilabs.com/blog/?p=1301#comment-1516 Hi. I bought your DLL yesterday, and I need to show an EML content in a web site (ASP.NET).
I would need something like this control, but for HTML.
Do you provide a way to do this?
Maybe some method that returns an html and handles the embed images (showing the embed images is the most important thing for me).

Thank you in advance.

Leandro.

]]>
By: Limilabs support https://www.limilabs.com/blog/display-html-email-in-windows-application#comment-1515 Mon, 09 May 2011 07:27:13 +0000 http://www.limilabs.com/blog/?p=1301#comment-1515 In reply to stleios.

@Stelios

Please include the following line in your app.config file:

<configuration>
 <startup useLegacyV2RuntimeActivationPolicy="true">
  <supportedRuntime version="v4.0"/>
 </startup>
</configuration>
]]>
By: stleios https://www.limilabs.com/blog/display-html-email-in-windows-application#comment-1514 Sun, 08 May 2011 09:10:56 +0000 http://www.limilabs.com/blog/?p=1301#comment-1514 hello, when i run the application after importing » ProtocolEx.dll am getting the error
Mixed mode assembly is build against version ‘v2.0.50727’ of the runtime and cannot be loaded in the 4.0 runtime without additional configuration information.
can you help me?

]]>