
Sent mails still in drafts folder, marked as 'not sent'
Hmmm.... Is the MSG file message in the "sent" state? Does it have the
PR_SENDER_xxx properties which might be conflicting with the current user's
identity?
Can you zip the MSG file (important!) and send it to my private e-mail?
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
Quote:
> Dmitry,
> After testing several scenario's the problem seems to be
> related to using a file (.msg) to create a new mailitem.
> Creating a new mail item without a file as template gives
> no problems in delivering
> Could it be a file formatting problem?
> We use .msg format because Redemption doesn't
> support .oft file format, could that be a problem?
> Marco
> >-----Original Message-----
> >Can you post a relevant code snippet? Outlook 2002 under
> Exchange should not
> >have any problems.
> >Calling CommandBarButton.Execute on the Send button will
> display the same
> >prompt. the only way around is to use low level Win API
> to simulate a mouse
> >click (see mouse_event() function on MSDN)
> >Dmitry Streblechenko (MVP)
> >http://www.dimastr.com/
> >OutlookSpy - Outlook, CDO
> >and MAPI Developer Tool
> >> Hi,
> >> We use Outlook 2002, Exchange 2000 server and Outlook
> >> Redemption 3.1.
> >> The following problem occurs: after programmatically
> >> sending a mail on the Outlook client, the mail is still
> >> in the drafts folder.
> >> I have read about this problem in the redemption FAQ,
> but
> >> the solution (flushing the queue) doesn't work.
> >> Even manually pushing the send and receive button in
> >> Outlook doesn't work.
> >> The problem seems to be that Outlook 2002, after
> sending
> >> the mail, marks the mail as not being sent again.
> >> I know for sure the mail has been sent correctly.
> >> Appearantly, MailItem.Send is not the same as manually
> >> pushing the send button in the MailItem inspector
> window
> >> In Outlook2000 this problem does not occur.
> >> What is the problem here? How can I solve this?
> >> A workaround could be to programmatically push the Send
> >> button by executing this control in the mail inspector
> >> window.
> >> What is the control number for this button?
> >> All help appreciated.
> >> TIA,
> >> Marco
> >.