Archive for July, 2008

Fixing RDO Error (Exchange) When Trying to Move an Email

Tuesday, July 8th, 2008

I’m using Python win32 stuff to automate some Exchange tasks. This is an issue I ran into.

Here’s my one-way email correspondence with the authors that lists the error and how I fixed it:

This turned out to be a permissions issue. Sorry for the bother.

-Greg

—–Original Message—–
From: Greg Pinero
Sent: Tuesday, July 08, 2008 11:02 AM
To: redemption@di….com
Subject: Outlook Redemption Question

Hi there,

I’m trying to use the RDOMail object’s Move method:

Move(DestFolder)
Moves message to a new folder.
DestFolder – The destination folder (RDOFolder object).
Returns the new message (RDOMail object) in the destination folder.

However I am getting this error:

Traceback (most recent call last):
File ““, line 1, in ?
File “>”, line 2, in Move
com_error: (-2147352567, ‘Exception occurred.’, (0, ‘Redemption.RDOMail’, ‘Error in IMAPITable.FindRow(PR_SEARCH_KEY): MAPI_E_NOT_FOUND’, None, 0, -2147221233), None)

I’m simply calling e.Move(rdoFolder)

Where e is an email message and rdoFolder is an RDO folder of the folder I want to move the message to. Let me know if it would help to see my code.

Thanks in advance for the help.

Greg Pinero