Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

PB and outlook redemption - convert msg to eml

195 views
Skip to first unread message

Claude

unread,
Nov 19, 2008, 10:11:41 AM11/19/08
to
For archiving or emails, i would like to convert .msg files to eml which is
more stantard.

I am currently testing outlook redemption, but I have problems to convert
the required function (
HrIMessageToRFC822Message) to have it work with PB.

The prototype of this function on the web is
HrIMessageToRFC822Message(pMsg : IMessage; pSession : IMAPISession; var
lpCount : ULONG; var lppBuffer : pointer):HResult;stdcall;

Can somebody help me to convert in PB in something like
Function typevar HrIMessageToRFC822Message (...,...., ) library
"redemption.dll


Roland Smith [TeamSybase]

unread,
Nov 19, 2008, 11:03:34 AM11/19/08
to
Perhaps you should use their OLE control - RDO which is very similar to
Microsoft's CDO. Something like this should get you started:

OLEObject oleSession
Integer li_rc

oleSession = Create OLEObject

li_rc = oleSession.ConnectToNewObject("Redemption.RDOSession")
If li_rc = 0 Then
oleSession.Logon()
....
oleSession.Logoff()
End If

Destroy oleSession


Claude

unread,
Nov 19, 2008, 11:34:13 AM11/19/08
to
Thank you, but I do not necessary need to connect to outlook.
I have already a file xxx.msg stored in a directory, and I just want to
convert it and have a new file in another directory converted to eml format.

Claude

"Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com> a écrit dans le
message de news: 492438d6$1@forums-1-dub...

Roland Smith [TeamSybase]

unread,
Nov 19, 2008, 1:30:15 PM11/19/08
to
The Redemption site says that it is a COM object so you would not be using
external functions. You have to use OLE.

This is the example for importing a MSG file into a new mail item in the
Drafts folder

dim sItem, oItem
set sItem = CreateObject("Redemption.SafeMailItem")
set oItem = Application.Session.GetDefaultFolder(16).Items.Add(6)
sItem.Item = oItem
sItem.Import "c:\temp\test.msg", 3 'olMSG, olRFC822 and olTNEF formats are
supported
sItem.Save

I don't have it installed but here is my attempt at it:

OLEObject ole_sItem, ole_oItem
Integer li_rc


ole_sItem = Create OLEObject


li_rc = ole_sItem.ConnectToNewObject("Redemption.SafeMailItem")


If li_rc = 0 Then

ole_oItem =
ole_sItem.Application.Session.GetDefaultFolder(16).Items.Add(6)

ole_sItem.Item = oItem

ole_sItem.Import("c:\temp\test.msg", 3)

ole_sItem.Save()
ole_sItem.DisconnectObject()
End If

Destroy ole_sItem

Destroy ole_oItem


Claude

unread,
Nov 19, 2008, 4:12:56 PM11/19/08
to
Thank you very much, i will test it quickly
Claude

"Roland Smith [TeamSybase]" <rsmith_at_trusthss_dot_com> a écrit dans le

message de news: 49245b37$1@forums-1-dub...

addingto...@gmail.com

unread,
Nov 1, 2018, 2:25:05 AM11/1/18
to
Due to any reasons if you want to convert MSG to EML file and have no idea how to convert MSG to EML file so you can download MSG to MSG Conversion Software that easily recover and convert data of MSG file included emails, contacts, calendars, task, notes and other folders into EML file. Converted EML file you can successfully open by many emails clients like outlook express, windows, windows live mail & thunderbird etc. MSG to EML Software is powerful that successfully convert MSG file to EML file without create problem in less time.

visit more:- http://www.osttopstapp.com/msg-to-eml.html

Albert Taylor

unread,
Apr 12, 2023, 3:05:48 AM4/12/23
to
MSG to EML Converter tool is a software application that converts Outlook MSG files to EML format. The tool also allows batch conversion of multiple MSG files to EML and PST files formats, which saves time and effort.

Read more - https://www.shoviv.com/msg-to-eml-converter.html

Antonio Bill

unread,
Jul 19, 2023, 7:43:13 AM7/19/23
to
Convert MSG to EML Tool is Instant Solution to Conversion Email MSG to Windows Live Mail file format. This application saves the bulk MSG file to EML file format without installing Outlook. It is a secure tool that makes converting MSG files with attachments simple and quick. The user-friendly interface of the Export MSG to EML software makes it simple for non-technical people to utilize. More than 10+ EML file types and email clients are convertible by users. All Mac and Windows OS versions are supported by this software. Additionally, it supports all versions of MS Outlook.

Visit here: https://www.mailvita.com/kb/free-paid-conversion-email-msg-to-windows-live-mail/

Suman Rawat

unread,
Sep 28, 2023, 5:19:04 AM9/28/23
to
For converting MSG files to EML, you can use the MSG Converter Tool. It effortlessly converts multiple MSG files in bulk. It converts MSG files with high accuracy and maintains the folder hierarchy as well. MSG Converter can also convert MSG files to PST, PDF, MBOX, EMLX, CSV, EML, etc. The tool is so easy to understand that a non-tech savvy can easily go through the software. Download the free demo version of the tool.

Read more: https://www.msoutlookhelp.com/msg-file-converter/

Recovery Tools

unread,
Oct 31, 2023, 7:46:10 AM10/31/23
to
The MSG to EML Converter Tool quickly changes email files from MSG to a format that works with Windows Live Mail. You can convert many MSG files to EML at once, and you don't need Outlook installed. This tool is safe and easy to use, even if you're not a tech expert. It can convert more than 10 different types of EML files and works with various email programs. It works on both Mac and Windows computers, and it's compatible with all versions of MS Outlook.

Complete Guide: https://www.recoverytools.com/msg/migrator/

Bobby Russell

unread,
Nov 7, 2023, 5:53:17 AM11/7/23
to
If you need to convert MSG files to EML format then you can go with a suitable solution MSG to PDF Converter Tool which gives 100% error-free results also, the utility can export MSG files to EML file formats and easily migrate to email clients. In addition to these benefits, the service also comes with some additional functionality which can be seen below.

1. The software allows easy resizing of MSG files.
2. It provides a Mail Filter feature to filter selected emails within a given date range.
3. Broadly compatible with all major versions of Windows.
4. Allow duplicate emails to be eliminated to reduce redundant data.

Visit here: https://www.toolsbaer.com/msg-to-eml-conversion/
0 new messages