I thought there might be someone here who would like to get an update...

On Tue, 8 Aug 2006, David Eriksson wrote:

>> Once that's done, I was thinking about accessing the Pocket Outlook Inbox
>> ActiveSync folders via rra. Playing around with the rra-tools, I managed
>> to download a testmessage to a file on the Linux side. But now I'm stuck
>> since I don't know anything on the format. I know it's my message, since
>> I can see the UTF-16 encoded text of it, but can anyone point me out to
>> a resource on how to interpret the binary data around it? It doesn't
>> matter, if it's a format description or some sourcecode.
>
> Actually "Khamael" in #synce mentioned this today. My reply was:
>
> "Personally I wouldn't bother with mail support for pre-WM5 devices;
> it's a mess to reverse engineer, IIRC"

This statement seems to be half true from what I've encountered so far.
I've got three WinCE devices: a Handheld PC 3.0, a Handheld PC 2000 and
a Pocket PC 2003 Second Edition (my cellphone).

On the Pocket PC reverse engineering the Merlin Mail data seems to be no
fun at all.

But on the Handheld PCs it doesn't seem to be such a big hassle to get
the data of the emails. I've written a small tool that checks for the
changed mails and prints the information about the mails found to stdout.
The output looks something like this:

type_id: 00002713, object_id: 07001f6d, field count: 13
ID: 0x0000000e
Flags: 0x0250fdfd
MsgLen: 0x0000000d
Totallen: 0x0000000d
BodyLen: 0x000d
Date: Thu, 10 Aug 2006 22:05:22 +0200  (1155240322)
From: ""
Presubject: ""
Subject: "Outbox 1"
Header: "To"="<[EMAIL PROTECTED]>"
Header: "Cc"=""
Header: "Bcc"=""
Body: "Outbox 1 Text"
Svcoid: 0x05001e73

The source is available on request, if anyone would like to join in. It's 
also lacking a lot of functionality, but it's a start. What's been lacking 
is (probably amonst other stuff, but these are the next topics):
- handling of attachments, it seems that I've got to pull them out of the
   filesystem
- handling of mailbodys > 0x7fe0 characters, since they don't fit in the
   database and will be stored on the filesystem as well
- putting these data together in structure for easy processing

I'm not sure on how to get the pathnames from the CE device for filesystem 
access. First attempt would be to read the parts from the registry and put 
them together myself, if noone would come up with a more elegant way of 
doing this, that is.

Greetings from Germany,
SvOlli
-- 
|  _______       |
| (  /\          | Playing an unamplified electric guitar
|__)v\/lli a.k.a.| is like strumming on a picnic table.
|Sven Oliver Moll|   -- Dave Barry, "The Snake"

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Synce-devel mailing list
Synce-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to