Using VB with Outlook

I

Info

Hello people.

I'm trying to use VB to send emails. But when I use the Omsg.Send method it
puts the message in the "outbox".

So I then have to go to the outbox and manually send the email.

I need to send the message immediately......anybody got any ideas?

Thanks

Bob
 
A

Admin

Sue, thanks....the code works....but only if Outlook is open....how can I do
this with outlook closed.

Bob
 
S

Sue Mosher [MVP-Outlook]

You'd need to "open" Outlook. Instantiating an Outlook.Application object
and displaying an Explorer window should be sufficient.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
A

Admin

Sue.....my code fails if Outlook is not open....even when I "open" it by
instantiating and object of type outlook.
 
S

Sue Mosher [MVP-Outlook]

Are you also displaying an Explorer window, which is the parent object for
CommandBars? It might help if you showed a code snippet.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
Top