Log in

View Full Version : This is how you can store your ActiveSync-synchronized Outlook mail on a storage card


Menneisyys
07-15-2006, 11:18 AM
For a long time, I’ve thought there is no way of relocating ActiveSync-synchronized Outlook mail (that is, mail that ActiveSync synchronizes from/with your desktop Outlook; not to be confused with mail you download straight from your POP3/IMAP mailboxes on your PDA without any ActiveSync synchronization!) to memory cards.

Now, the situation has changed – you can store all your mail bodies (not just the attachments) on storage cards! This is handy for everyone (to lessen the load on the main storage) and particularly for people that have upgraded their ‘legacy’ WM2003SE Dell or HP devices to WM5.

Importance for WM5-upgraded Dells and HP devices

This hack is of extreme importance to Dell Axim x50(v), HP iPAQ hx4700, hx2x1x and hx275x users that have upgraded to WM5. As I’ve pointed out several times (for example here (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=929&more=1&c=1&tb=1&pb=1)), you MUST reduce writing/deletion to/from the Flash ROM for these devices to be usable (that is, to avoid the filesys.exe compaction ‘kicking in’). This also means avoiding synchronizing Outlook mail with WM5-upgraded devices because, by default, they are all stored in the main storage. Now, with this hack, you can freely and safely synchronize your mail on these devices without lengthy filesys.exe compactions!

And, of course, the hack is very important for anyone wanting to store more than a handful of his or her mails on his or her PDA to keep the built-in free memory as large as possible, independent of the Pocket PC model.

The solution



The solution is simply adding a String value named PropertyPath containing the new mail directory path to HKEY_CURRENT_USER\ Software\ Microsoft\ MAPI in the Registry. This value should contain the directory on your storage card you’d like to store your synchronized mail on. The directory doesn’t need to be manually created; it will be automatically created upon the first mail synchronization.

Also, to relocate mail attachments, you’ll need to also add a String value AttachPath to the same key.

To do this, strictly on pre-WM5 devices, get for example MobileRegistryEditor (MRE) (http://www.breaksoft.com/Blog/Utilities/2005/1/Mobile_Registry_Editor.aspx):

Cradle your Pocket PC, let ActiveSync run, start MRE and navigate to HKEY_CURRENT_USER\ Software\ Microsoft\ MAPI. Click the right pane, choose New and, then, String Value as can be seen in here (http://www.winmobiletech.com/072006MAPIHack/MAPIReged-add.png).

Now, just fill in the two fields with PropertyPath /AttachPath and the directories on your storage card you’d like to use as can be seen in this (http://www.winmobiletech.com/072006MAPIHack/MAPIReged-2.png) and this (http://www.winmobiletech.com/072006MAPIHack/MAPIReged.png) screenshots.

On WM5 devices, you can’t use MobileRegistryEditor because it doesn’t have write/modify rights to most of the Registry. Therefore, on WM5 devices, you’ll need to use alternate registry editors like Resco Registry Editor (http://www.resco.net/pocketpc/explorer/) (also see the Ultimate Roundup of Registry Editors for the Pocket PC (http://www.pocketpcmag.com/blogs/menneisyys/UltimateRoundupOfRegistryEditors.asp) for alternates).

Go to HKEY_CURRENT_USER\ Software\ Microsoft\ MAPI and choose Menu/New/String Value as can be seen in here (http://www.winmobiletech.com/072006MAPIHack/RescoAdd-1.bmp.png). Fill in the two (name and value) fields (http://www.winmobiletech.com/072006MAPIHack/RescoAdd-2.bmp.png) with PropertyPath (and AttachPath).

Soft reset your device after the registry hack!

You will also need to soft reset your Pocket PC so that Messaging (Pocket Inbox) also sees the changes – ActiveSync will see them at once, but Messaging won’t).

Note that on WM5 devices you will need to suspend (press the Power button shortly) before resetting. (For geeks, the explanation of the reasons for this can be found here (http://www.pocketpcmag.com/blogs/index.php?blog=3&p=898&more=1&c=1&tb=1&pb=1).)

Compatibility

All Pocket Inbox / Messaging versions starting with the Pocket PC 2002 operating system. The hack works just great on all my Pocket PC 2002+ test Pocket PC’s (tested it on the PPC2k2 iPAQ 3660, the WM2003 iPAQ 2210, the WM2003SE Pocket Loox 720 and the WM5 iPAQ hx4700).

ATTENTION: You must disable the Messaging Today plug-in!

Due to the fact that Today plug-ins are initialized earlier than the storage cards become available, to avoid the Storage Card2 problem described for example here (http://www.pocketpcmag.com/blogs/index.php?blog=3&title=my_sd_card_likes_to_rename_itself_to_sd&more=1&c=1&tb=1&pb=1), you must disable the Messaging Today plug-in.

To do this, go to Start/ Settings/ Today/ Items and uncheck Messaging ('Inbox' in pre-WM2003SE operating system versions) as can be seen in here (http://www.winmobiletech.com/072006MAPIHack/DisableMessagingTodayPlugin.bmp.png).

Storage card speed

Note that if you get hundreds of mails a day, you will want to optimize the speed of your storage card so that file creation speed is as big as possible. To do this, please read this tutorial (http://pocketpcmag.com/forum/topic.asp?TOPIC_ID=17921).

When the hack is not the best


you absolutely need the Messaging Today plug-in. Then, you will need to stick to storing the mail bodies in the main memory.

if you want the best synchronization speed possible, you have a lot of mail to sync and you have a pre-WM5 device (where RAM is used to store files and not the much slower flash ROM), you may want to opt for NOT ‘hacking’ the mail bodies out of the main memory. RAM-based memory is far faster as far as file creation speed is concerned than even the fastest memory cards. Keeping mail bodies in RAM may result in tremendous synchronization speed increase. Again, this is only usable with pre-WM5 devices and will only have real effect when you have a LOT of new mail to synchronize regularly. If you only have 1-2 new mails to sync, you won’t see any speed difference.

applejosh
07-15-2006, 10:28 PM
Sweet! Workin' well here.

sweb3028
07-22-2006, 11:37 PM
Awesome tip!! I used it on my H2215, and it worked beautifully. It freed up about 3 Mb of memory, and that was just the root emails (I was already sending my attachments to the storage card). It may not work with the “Messaging” Today plug-in (I do not use it anyway), but it works fine with other Today plug-ins (i.e. SBSH PocketBreeze). Thanks for the post.

GAZ112142
12-07-2006, 02:54 PM
8O This is agreat application, but I want to make an additional suggestion. I synchronize Outlook with all my addresses, calendar for two month and taskpad, besides some emails. It would be great to store and synchronize on the SD Card the complete Outlook. Is there any way to develop a hack for it? If it is possible with the email why not just Outlook completly? I do not understand why WM5 does not provides this possibilty.

Menneisyys
12-10-2006, 12:10 PM
8O This is agreat application, but I want to make an additional suggestion. I synchronize Outlook with all my addresses, calendar for two month and taskpad, besides some emails. It would be great to store and synchronize on the SD Card the complete Outlook. Is there any way to develop a hack for it? If it is possible with the email why not just Outlook completly? I do not understand why WM5 does not provides this possibilty.

Unfortunately, it's impossible to store otehr PIM databases on the card.

SirRico
12-11-2006, 07:37 PM
One little problem that I came up against, that had me banging my head against the wall until I figured it out, is that you will probably also have to disable the MSN Hotmail plug-in as well. It turns out that, at least on my machine, probably because I have it set up to read my HotMail account, it would do the same thing as the Messages plug-in, trying to access the folder where the messages are stored. Naturally, this would cause the same problem, with re-naming the real StorageCard to StorageCard2. What a pain.

ChristopherTD
12-12-2006, 10:08 AM
Is this only for ActiveSync messages or does it relocate POP3 accounts as well?

BoxWave
12-13-2006, 11:10 PM
Thanks for the tip!

Chris-
BoxWave Accessories (http://www.boxwave.com)

dandv
01-09-2008, 03:33 AM
Just wanted to add that this hack does NOT seem to work (at least on Windows Mobile 2003SE) for storing SMSes (text messages) in a custom location on the Pocket PC.

Because I don't always have a storage card popped in, I set HKCU\Software\Microsoft\MAPI\PropertyPath to Storage\Mail
I had 26 SMSes in my Inbox before doing this, and sent myself a new SMS. The new SMS created 2 files in Storage\Mail, and it appeared along with the old text messages in the Inbox folder. So the transition appeared to be flawless. As I read through the old SMSes, opening each one of them created 2 additional files in Storage\Mail. However, all files created in \Storage\Mail were 0-byte.

Before making the registry change, SMSes were stored in \Windows\Messaging, and many of them were 0-byte too. Where actually are the text messages stored?

After making the registry change, I did a hardware reset, changed the registry again, but none of the SMSes in Storage\Mail were picked up by Inbox.

Does anyone know how to actually store text messages on a storage card?