Johann
The process is:
class AutoPilot:
_public_methods_ = IExStoreSyncEvents_methods
_com_interfaces_ = ['IExStoreAsyncEvents']
_reg_clsid_ = "{D7CDBFB7-7B49-4EA4-9F8E-47152ED86991}"
_reg_progid_ = "AutoPilot"
_reg_desc_ = "QCM AutoPilot Response System"
# IExStoreSyncEvents interfaces
def OnSave(self, pEventInfo, strUrl, lFlags):
'Called by a store when an item is saved.'
self.ActionRequired = 'None'
self.Confirmation = 'No'
print strUrl
self.InEmail = Dispatch("CDO.Message ")
self.InEmail.DataSource.Open(strUrl,None,0x1,-1,0x800000,"","")
print '****From'
print self.InEmail.From
print '******'
The trace collecter shows:
Object with win32trace dispatcher created (object=None)
in <emailFramework.AutoPilot instance at 0x00A5F0D0>._QueryInterface_ with unsupported IID IMarshal ({00000003-0000-0000-C000-000000000046})
in < emailFramework.AutoPilot instance at 0x00A5F0D0>._QueryInterface_ with unsupported IID {0000001B-0000-0000-C000-000000000046} ({0000001B-0000-0000-C000-000000000046})
in <emailFramework.AutoPilot instance at 0x00A5F0D0>._QueryInterface_ with unsupported IID IStdMarshalInfo ({00000018-0000-0000-C000-000000000046})
in <emailFramework.AutoPilot instance at 0x00A5F0D0>._QueryInterface_ with unsupported IID IExternalConnection ({00000019-0000-0000-C000-000000000046})
in <emailFramework.AutoPilot instance at 0x00A5F0D0>._QueryInterface_ with unsupported IID {4C1E39E1-E3E3-4296-AA86-EC938D896E92} ({4C1E39E1-E3E3-4296-AA86-EC938D896E92})
Object with win32trace dispatcher created (object=None)
in <emailFramework.AutoPilot instance at 0x00A5FD50>._QueryInterface_ with unsupported IID IMarshal ({00000003-0000-0000-C000-000000000046})
in <emailFramework.AutoPilot instance at 0x00A5FD50>._QueryInterface_ with unsupported IID {0000001B-0000-0000-C000-000000000046} ({0000001B-0000-0000-C000-000000000046})
in <emailFramework.AutoPilot instance at 0x00A5FD50>._QueryInterface_ with unsupported IID IStdMarshalInfo ({00000018-0000-0000-C000-000000000046})
in <emailFramework.AutoPilot instance at 0x00A5FD50>._QueryInterface_ with unsupported IID IExternalConnection ({00000019-0000-0000-C000-000000000046})
in <emailFramework.AutoPilot instance at 0x00A5FD50>._QueryInterface_ with unsupported IID {4C1E39E1-E3E3-4296-AA86-EC938D896E92} ({4C1E39E1-E3E3-4296-AA86-EC938D896E92})
in <emailFramework.AutoPilot instance at 0x00A5F0D0>._QueryInterface_ with unsupported IID {1C733A30-2A1C-11CE-ADE5-00AA0044773D} ({1C733A30-2A1C-11CE-ADE5-00AA0044773D})
file://./backofficestorage/kelsan.com/MBX/qcm-autopilot/Inbox/none- 21.EML
in <emailFramework.AutoPilot instance at 0x00A5FD50>._QueryInterface_ with unsupported IID {1C733A30-2A1C-11CE-ADE5-00AA0044773D} ({1C733A30-2A1C-11CE-ADE5-00AA0044773D})
file://./backofficestorage/kelsan.com/MBX/qcm-autopilot/Inbox/none- 22.EML
****From
******
****From
"[EMAIL PROTECTED]" <[EMAIL PROTECTED]>
******
_______________________________________________ Python-win32 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-win32
