Previewing Outlook .MSG files

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Previewing Outlook .MSG files

Post 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.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66357
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Previewing Outlook .MSG files

Post by admin »

Thanks, but I would need to make sure that latest Outlook format works. Somebody here must have some test messages... :whistle:

bdeshi
Posts: 4256
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612
Contact:

Re: Previewing Outlook .MSG files

Post 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.
To see the attached files, you need to log into the forum.
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

admin
Site Admin
Posts: 66357
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Previewing Outlook .MSG files

Post 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...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Previewing Outlook .MSG files

Post 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?
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66357
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Previewing Outlook .MSG files

Post by admin »

Good luck! Office is a strange world.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Previewing Outlook .MSG files

Post by SkyFrontier »

Is there some <cc_ext> in the board?
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66357
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Previewing Outlook .MSG files

Post by admin »

No.

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Previewing Outlook .MSG files

Post 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.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66357
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Previewing Outlook .MSG files

Post by admin »

Why not this?

Code: Select all

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

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Previewing Outlook .MSG files

Post by SkyFrontier »

I'm trying it - not working.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66357
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Previewing Outlook .MSG files

Post 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

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Previewing Outlook .MSG files

Post 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:
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

SkyFrontier
Posts: 2341
Joined: 04 Jan 2010 14:27
Location: Pasárgada (eu vou!)

Re: Previewing Outlook .MSG files

Post 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.
To see the attached files, you need to log into the forum.
New User's Ref. Guide and Quick Setup Guide can help a bit! Check XYplorer Resources Index for many useful links!
Want a new XYperience? XY MOD - surfYnXoard
-coz' the aim of computing is to free us to LIVE...

admin
Site Admin
Posts: 66357
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Previewing Outlook .MSG files

Post by admin »

I don't think there should be notable speed reductions. But then I don't know your code. Any wait-loops? :biggrin:

Post Reply