automating "Send/Recieve" in outlook via OLE

B

Big Dummy

Hi guys

I'm developing in Magic Software, and I'm trying to implement an automated
mail sending via Outlook. I'm able to open outlook and send the mail, but
the problem is the mail just sits in the outbox until the user sends it.

The sample program I've been working from utilizes a close command to cause
Outlook to close, thus bringing up a dialog which allows the user to
immediately choose to send the mail, but my client doesn't like this.

I'm using the method call ("@mg_ocx.MethodCall") with the Send operation to
send the email.

My question is, is there some equivalent command to force a "send and
recieve", either by simulating one of the Outlook toolbar buttons or by
directly triggering the behavior?

Alternately, is there some explanation of the OLE libraries I could use to
do the same thing?

BD
 

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