Aubin LaBrosse wrote:
>
>  
>
> 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. 
>

No, that's not the right answer.  You don't really want the message in
"Sent Items".  What you want is for Outlook to move it to "Sent Items"
because it got sent.  Did you say you had tried doing this before
SaveChanges:
    message.SetReadFlag(CLEAR_READ_FLAG)
    message.SetProps([(mapitags.PR_DELETE_AFTER_SUBMIT,1)])

-- 
Tim Roberts, 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