cancel
Showing results for 
Search instead for 
Did you mean: 

Is it possible to open .eml files in Lotus Notes directly?

mkappel
Confirmed Champ
Confirmed Champ
The question is whether it is possible to open ".eml" files out of OpenWorkdesk directly in Lotus Notes.

If you store .eml files in OpenWorkdesk, you have to define a mime type mapping from eml to message/rfc822. This is done with the OpenWorkdesk Mime Type Manager. How you can define such a mapping please see chapter 6.3.1 “Override or Add a File Extension to MIME Type Mapping” in OpenWorkdesk Configuration Guide, available at http://openworkdesk.org/guides.

Depending on the MimeType behavior definition it is possible to open this message/rfc822 with e.g. word but without contained attachments. This is possible with OpenWorkdesk Community Edition.

With OpenWorkdesk Enterprise Edition you can use Zero Install Desktop Integration (http://www.wewebu.com/en/zero-install-desktop-integration) to open eml files in Lotus Notes directly. Just define in mimetable.xml (see OpenWorkdesk Configurator as well in Chapter 12.9) for mime type message/rfc822 the Mime Type Action the following statement:
openOfficeDocument('{serverurl}zidi','{dmsid}','{prop#OW_ObjectName}',false,'.eml')
It might be necessary to connect a Direct Access Folder as well. (See ZIDI Installation Guide).

In Community Edition you can use the Download Plugin to open .eml files with Lotus Notes. In this case the mail will be prompted for download, the user can directly click on open and it will be opened in Lotus Notes directly.
You can use the following plugin configuration:


<PlugIn type="ow_docfunction">
    <Name>Open Lotus Notes Mail</Name>
    <id>com.wewebu.ow.owdocview.OpenLotusNotesMail</id>
    <Description>Download and open Lotus Notes Mail</Description>
    <Vendor>WeWebU Software AG</Vendor>
    <Version>3.1.0</Version>
    <ClassName>com.wewebu.ow.server.plug.owdocview.OwDownloadAsZipDocumentFunction</ClassName>
    <!– optional small (16x16 pixels) icon for the plugin, leave empty to use default. –>
    <icon>{specify Lotus Notes Icon}</icon>
    <!– optional small (24x24 pixels) icon for the plugin, leave empty to use default. –>
    <iconbig />
    <!– Allow multiple document selection or just one single document –>
    <Multiselect>false</Multiselect>
    <!– Display the plugin in the context menu. –>
    <ContextMenu>true</ContextMenu>
    <!– Display in object editing dialogs like OwEditPropertiesDialog. –>
    <ShowInEditViews>false</ShowInEditViews>
    <!– Display the plugin next to object in a object listview. –>
    <ObjectInstance>true</ObjectInstance>
    <!– Create a own column for plugin with given title, or display without columntitle. –>
    <ColumnTitle />
    <!– Object types to work on as defined in OwObjectReference.OBJECT_TYPE_… –>
    <objecttypes>
      <type>OBJECT_TYPE_DOCUMENT</type>
    </objecttypes>
    <!– Enable plugin only for the given object class names, leave empty to enable for all classes –>
    <objectclasses>
      <!–<name>document</name>–>
    </objectclasses>
  </PlugIn>
2 REPLIES 2

rapa
Champ in-the-making
Champ in-the-making
After you have applied these settings the .eml files are also opened in MS-Outlook directly if you are using Outlook as your default E-Mail Client.

With the mime type action:

openOfficeDocument('{serverurl}zidi','{dmsid}','{prop#OW_ObjectName}',false,'.msg')

for the mime type application/msoutlook

also .msg files are directly opened in MS Outlook.

peterwalker12
Champ in-the-making
Champ in-the-making

Thanks for sharing the useful solution, But last few months ago I have used a paid tool for converting my eml file to Lotus Notes. I will share this solution with my friends.