It should sit in the outbox until the next regularly scheduled Send/Receive 
cycle.  After Outlook sends it on, Outlook will automatically move it to "Sent 
Items".  What is the mail server here?  Exchange?  POP?  IMAP?  Is Outlook 
configured to work online 100% of the time?


Mail server is exchange
Last calls I made are:

outboxfolder.SaveChanges(0)
message.SubmitMessage(0)

outlook is 100% online, yes

for whatever reason when I send programmatically in this way I never see it 
move to sent items - it just hangs out in the outbox. So I just assumed I had 
to move it myself.

Why not?  When you're getting help from a list like this, it's only polite to 
stick around so you can eventually help others with the same kind of problems.

I didn't intend anything unfriendly by it - I'll subscribe today - it was just 
a quick email to the list before I left work at 10pm last night.  LOL

-a

________________________________
From: Tim Roberts [mailto:t...@probo.com]
Sent: Wednesday, June 05, 2013 9:54 AM
To: Aubin LaBrosse
Cc: python-win32@python.org
Subject: Re: [python-win32] PySBinaryArray??

Aubin LaBrosse wrote:

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

It should sit in the outbox until the next regularly scheduled Send/Receive 
cycle.  After Outlook sends it on, Outlook will automatically move it to "Sent 
Items".  What is the mail server here?  Exchange?  POP?  IMAP?  Is Outlook 
configured to work online 100% of the time?

What is the last call you make to send the message on its way?



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

Why not?  When you're getting help from a list like this, it's only polite to 
stick around so you can eventually help others with the same kind of problems.


--

Tim Roberts, t...@probo.com<mailto:t...@probo.com>

Providenza & Boekelheide, Inc.
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to