Using VB with Outlook

  • Thread starter Thread starter Info
  • Start date Start date
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
 
Sue, thanks....the code works....but only if Outlook is open....how can I do
this with outlook closed.

Bob
 
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
 
Sue.....my code fails if Outlook is not open....even when I "open" it by
instantiating and object of type 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
 
Back
Top