Redemption DeliverNow doesn't work?

P

Piet

Dear readers,

I've written a program which uses CDO to send and receive
mail-messages.
Until Outlook 2000 everything worked fine, but after installing
Outlook XP the first thing that doesn't work is DeliverNow.

In short, this is the code I use:

Set oCDO = CreateObject("MAPI.Session")
oCDO.Logon
oCDO.DeliverNow
oCDO.Logoff
Set oCDO = Nothing

This code isn't working anymore with Outlook XP installed. I get no
error, no network activity, just nothing.

To see if Redemption is the solution I tried:

Set oSes = CreateObject("Redemption.MapiUtils")
oSes.DeliverNow
Set oSes = Nothing

This gives the same result as the previous code: Nothing.

Should I initialize something, or do something in the Outlook-settings
to make it work??

Piet Potappel
 
K

Ken Slovak - [MVP - Outlook]

Known problem with both CDO 1.21 and Redemption for Outlook 2002 with only a
POP3 account and for Outlook 2000 Internet only mode. It's due to the
limitations in the Outlook MAPI for Outlook 2000 and to the removal of the
MAPI spooler in Outlook 2002. It wouldn't happen in Outlook 2002 if you are
using an Exchange account.

The workaround is to wait for a scheduled Send/Receive time or use code to
click the Send/Receive toolbar button or menu entry.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top