Thank you
Zdravko
Inject the file contents within <pre> tags.
Regards.
"Zdravko" <user.c...@gmail.com> wrote in message
news:OFSku8uW...@TK2MSFTNGP04.phx.gbl...
Thank you
"PA Bear [MS MVP]" <PABe...@gmail.com> wrote in message
news:OBBU9K1W...@TK2MSFTNGP06.phx.gbl...
Zdravko
There is the outlook listview control to view your outlook folders and
launch the outlook.
Inject this js snippet into a web page hosted in your WebBrowser control
document.write('<OBJECT style=\"left:200px\"
classid=\"CLSID:0006F063-0000-0000-C000-000000000046\" id=\"ViewCtlFolder\"
codebase=\"http://activex.microsoft.com/activex/controls/office/outlctlx.CAB#ver=9,0,0,3203\"
tabIndex=\"1\" VIEWASTEXT>');
document.write('<param name=\"Namespace\" value=\"MAPI\">');
document.write('<param name=\"Folder\" value=\"Inbox\">');
document.write('<param name=\"Restriction\" value=\"\">');
document.write('<param name=\"DeferUpdate\" value=\"0\">');
document.write('</OBJECT>');
or you can host the control in a Windows Form. Use CreateObject.
For further tips see the .eml file extension handler entries in your
registry.
If you are writing your own POP server, then that is a different bag of
fish.
Regards.
"Zdravko" <user.c...@gmail.com> wrote in message
news:uWH4HsGX...@TK2MSFTNGP02.phx.gbl...
rob^_^ wrote:
> Hi Zd,
>
> There is the outlook listview control to view your outlook folders and
> launch the outlook....
I am using Outlook ViewCtl for messages display (on left side of my app).
Then (on Selection event) I am saving message to disc.
In that moment I run code which displays saved message in Webbrowser control
(on right or bottom side of my app).
Now, you tell me that I put this code into Webbrowser control.
At first moment, I think that that code will display Inbox Folder?
I will try that but I hope that you understand that I need message
(HTMLBody) of EML?
Zdravko
"rob^_^" <iecust...@hotmail.com> wrote in message
news:utSDeTHX...@TK2MSFTNGP04.phx.gbl...
MHT works OK, but it also includes message header's which I do not need
(From: To: Subject ...)
HTML works OK on Outlook 2007 because it saves images to separate
folder(Outlook 2003 do not do that)
EML is just what I need - without header, but with embeded images, BUT ...
it will not handle encoding on proper way, like MHT do.
Now, I need to find a way that message preview goes fast (if I go to remove
header or go to inject some code in each
message, it slow's down preview)
Zdravko
1. An EML file is *not* an Outlook message and will not open in Outlook.
2. An EML file *is* an Outlook /Express/ (or Windows Mail or Windows Live
Mail) message and will open in any of those applications.
3. An Outlook message has an MSG extension.
4. Outlook and Outlook Express are /not/ the same application.
> Repeat after me:
>
> 1. An EML file is *not* an Outlook message and will not open in Outlook.
I will not open EML file in Outlook. I have that file saved on my HD, and
wil preview that message.
> 2. An EML file *is* an Outlook /Express/ (or Windows Mail or Windows Live
> Mail) message and will open in any of those applications.
I will not open EML file in Outlook. I have that file saved on my HD, and
wil preview that message.
No one from Microsoft monitors this newsgroup: We're all voluteers.
An EML file will not and cannot open in OL or, I suspect, any application
other than OE, WinMail, or WLMail (at least not in a usable format).
--
~Robear Dyer (PA Bear)
MS MVP-IE, Mail, Security, Windows Client - since 2002
www.banthecheck.com
Everything works fine if I rename EML to MHT and preview it in Webbrowser,
with:
WebbrowserCtrl.Navigate2("MyMhtFile.mht","")
You can try yourself (rename EML to MHT and open it in Internet Explorer),
or
in Internet Explorer ActiveX control - Shell.Explorer.2
BUT
encoding is not properly displayed if EML contain only text.
Zdravko
Hi
not sure what do you mean?
http://en.wikipedia.org/wiki/WYSIWYG
--
Vincenzo Di Russo
MicrosoftR MVP - Most Valuable Professional since 2003
Windows Internet Explorer, Windows Desktop Experience & Security
My MVP Profile: https://mvp.support.microsoft.com/profile/Vincenzo
My Blog: http://blogs.dotnethell.it/vincent/