Email to Outlook problem: Retrieve data from MS Exchange Server

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am using Access to send email to Outlook and it has been working fine.
However, the other day I happened to send an email at the same time Outlook
was (exact message) "...trying to retrieve data from the Microsoft Exchange
Server SMSS51M09." This message pops up from Outlook. If the user clicks
Cancel in the mesage box, Access fails to send the email. I have an error
trap that prevents a problem...the user simply clicks the button to send the
mail again. However, I'd like to try to avoid the problem to being with. Does
anyone have any code for this?

Thank you,
Christine
 
Outlook retrieves data from Exchange only when a connection doesn'r exist or
has bee dropped. This usually happens only under 2 conditions:

1. Outlook hasn't been started yet.
2. The Exchange server dropped the connection due to a long period of
inactivity.

Hopefully, the connection loss isn't because you have a flakey NIC card.
That may lead to database corruption as well.

I think the connection time can be adjusted (but I don't know how ... you'd
need to ask in an Exchange group). You can also try periodically making a
connection to the server in code.
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 
Back
Top