Also, the mails sent by this method show up in my personal folders outbox (which I imported from my old PC) and not the mailbox outbox...
From: Varun Avashia Sent: Monday, April 26, 2010 6:30 PM To: 'python-win32@python.org' Subject: Using win32com.mapi to automate mail dispatch... Hi, I tried to follow the code on this link http://mail.python.org/pipermail/python-win32/2004-August/002239.html This worked fine for me on win7 with Outlook2k7 (CDO were installed separately), However this failed to work on winxp with sp2 and outlook2k7 (with CDO installed) with following trace-back.... Traceback (most recent call last): File "C:\Documents and Settings\Administrator\Desktop\send1kMail.py", line 73, in <module> SendEMAPIMail(SendSubject, SendMessage, SendTo, MAPIProfile=MAPIProfile) File "C:\Documents and Settings\Administrator\Desktop\send1kMail.py", line 28, in SendEMAPIMail outboxfolder = msgstore.OpenEntry(eid,None,mapi.MAPI_BEST_ACCESS) TypeError: EntryID must be a string or None Am I missing any additional components for WinXP? The eid variable at line 27 has a value of -2147221233... Thanks, Varun
_______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32