We help IT Professionals succeed at work.
Get Started

SendObject doesn't send the email.

Milewskp asked
Last Modified: 2013-11-29
My company's default implementation of MS Outlook is such that when a user opens Outlook, they are prompted to "connect to the server using the network or work offline or cancel this logon."
If my MS Access code runs DoCmd.SendObject while Outlook is not open, the user is prompted with this same message, and if they choose WorkOffline or Cancel, then Outlook doesn't open, the email is not sent, and no run time error is generated to indicate to Access that the message was not sent.

Can I open MS Outlook from Access and select the 'Connect' option using automation, in case Outlook is not open?
Watch Question
This problem has been solved!
Unlock 1 Answer and 23 Comments.
See Answer
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE