It's just a list/sequence of strings (in py2k) or bytes (in py3k). In this context, IIRC, it's just the entryids of the messages to move...

HTH,

Mark

On 5/06/2013 2:16 PM, Aubin LaBrosse wrote:
Hello, List,

I’m new to pywin32 and have been able to use it quite sufficiently with
the help of the internet and some (rather rudimentary, I admit)
knowledge of the windows api.  I’ve been able to do some quite clever
things with HTML on the windows clipboard and the Extended MAPI support.
  However I am stumped on one thing, which I would have imagined would
be rather easy to do somehow but just can’t seem to figure it out.  I
have used Extended MAPI to open the outlook outbox, create, and send an
email message.  Now I want to move that message from the outbox to the
sent items folder, as outlook itself would do. Without doing so, it
simply sits in the outbox, or is sent and deleted if I set the
PR_DELETE_AFTER_SUBMIT (apologies if that’s not the exact name, doing
this from memory as I write this email quickly) property flag

  So anyway, there exists PyIMAPIFolder.MoveMessages – I have a python
reference to a PYIMessage object that I would like to move, but the
first parameter to MoveMessages is what appears to be called a
PySBinaryArray which, all the documentation I can find on it essentially
says is a ‘list of strings containing binary data’

What binary data, exactly? The body of the message?  Some other message
identifier or property tag which must be used to indicate which message
is to be moved? Something else entirely?  And even if I knew, how the
heck do I create the proper PySBinaryArray object with which to pass in?!

This API is so obtuse sometimes (I get that that’s microsoft’s fault,
not python’s – LOL )

Any help/pointers/tips would be MOST appreciated – and thanks in advance
for the time!

Please CC directly on all replies, as I am not subscribed to the list.

Thank you!

-Aubin



_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32


_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to