Sent mails still in drafts folder, marked as 'not sent' 
Author Message
 Sent mails still in drafts folder, marked as 'not sent'

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



Sat, 20 Aug 2005 16:08:39 GMT  
 Sent mails still in drafts folder, marked as 'not sent'
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



Quote:
> 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



Sun, 21 Aug 2005 01:38:41 GMT  
 Sent mails still in drafts folder, marked as 'not sent'
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

Quote:
>-----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

>.



Sun, 21 Aug 2005 03:36:16 GMT  
 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

> >.



Sun, 21 Aug 2005 07:26:32 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Sending an Outlook mail from my VBA-code doesn't close the mail windows

2. Redemption SafeMailItem.Send posts to Drafts folder?

3. How to send from Draft folder

4. Sending out multiple messages from Drafts folder at once

5. Virus Alert while sending mails in the draft box of outlook (XP) using VB

6. sending HTML-Mail with images and not using ActiveDocument.send

7. Automating Email - but .Send doesn't send immediately

8. Notification when a new e-mail is sent to any e-mail Outlook folder

9. Outlook(Redemption) Send doesn't send

10. Outbox items aren't send when user press Send button

11. When Sending Doesn't SEND?

12. MAPI message Send method puts message in Outbox but it isn't actually sent

 

 
Powered by phpBB® Forum Software