Page 2 of 3

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 16:49
by SkyFrontier
Manually editing that sample could make it up.
Tonite I may find some time for this, if you want to.
I have some sample .msg but without my CD catalog working, cannot locate them, sorry.

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 16:56
by admin
Thanks, but I would need to make sure that latest Outlook format works. Somebody here must have some test messages... :whistle:

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 17:40
by bdeshi
Here's a email file that came with Windows Mail. I've exported it to .msg format with Outlook '07. Well, I dragged it over into XYplorer, and a msg file spawned... :wink:
But it doesn't seem to be plain text.
Additionally, the original eml file (Windows Mail file format, plaintext) for no reason.

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 17:48
by admin
Thanks! The "MSG preview" column script fails on the MSG but works fine with the EML... :biggrin:

Conc. the original topic: MSG preview totally fails in XY so I will have to offcially withdraw this feature until I mastered those preview handlers...

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 18:02
by SkyFrontier
Working to intercept sender, but body message is already supported for .msg with another code I wrote.

Don: the longer the code, the slower the list is drawn?

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 18:06
by admin
Good luck! Office is a strange world.

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 18:33
by SkyFrontier
Is there some <cc_ext> in the board?

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 18:37
by admin
No.

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 18:39
by SkyFrontier
Having it, I could put all 3 formats to work under a single column.
Otherwise, only 2 msg formats support, and an extra column is required for .eml files.

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 18:45
by admin
Why not this?

Code: Select all

$ext = getpathcomponent(<cc_name>, "ext");

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 18:46
by SkyFrontier
I'm trying it - not working.

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 18:50
by admin
Works here:

Code: Select all

Snip: CustomColumn 1
  XYplorer 13.80.0143, 28.03.2014 18:49:18
Action
  ConfigureColumn
Caption
  Extension
Type
  3
Definition
  return getpathcomponent(<cc_name>, "ext");
Format
  0
Item Type
  0
Item Filter

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 18:53
by SkyFrontier
Got it working now - I was doing something completely stupid so getpathcomponent wouldn't work in any way.
Uploading soon - must complete the .eml support now.

:wink:

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 19:02
by SkyFrontier
Good enough?
Don - the longer the code, the slower the list draws? Or is it because return is dealing with lengthy entries?
Depending on the answer, I can improve the code prior to publishing it.

Re: Previewing Outlook .MSG files

Posted: 28 Mar 2014 19:14
by admin
I don't think there should be notable speed reductions. But then I don't know your code. Any wait-loops? :biggrin: