B
Brian
I have a very simple use of SendObject that is failing on a Windows 2003
server. with a "2287 Microsoft Access can't open the mail session" error.
DoCmd.SendObject acSendNoObject, , , EMailAddress, , , MessageSubject,
MessageBody, False, False
The three variables EMailAddress, MessageSubject, and MessageBody are
properly-dimensioned as strings with the values set in preceding code (it all
works fine on my Windows XP Pro / Office 2003 Pro SP3 development station),
However, when I copy the MDB to the Win2003 server (running Outlook 2003 &
Access 2003 runtime, with Office 2003 SP3 updates applied), I get the 2287
error. It is rather difficult to debug, though, because it is running on an
Access 2003 runtime installation. Everything else in the app works fine on
the server.
Outlook runs fine on the server.
I have other SendObject code running on other Windows 2003 servers that also
have Outlook 2003 & Access 2003 runtime, but perhaps there is some different
file version.
server. with a "2287 Microsoft Access can't open the mail session" error.
DoCmd.SendObject acSendNoObject, , , EMailAddress, , , MessageSubject,
MessageBody, False, False
The three variables EMailAddress, MessageSubject, and MessageBody are
properly-dimensioned as strings with the values set in preceding code (it all
works fine on my Windows XP Pro / Office 2003 Pro SP3 development station),
However, when I copy the MDB to the Win2003 server (running Outlook 2003 &
Access 2003 runtime, with Office 2003 SP3 updates applied), I get the 2287
error. It is rather difficult to debug, though, because it is running on an
Access 2003 runtime installation. Everything else in the app works fine on
the server.
Outlook runs fine on the server.
I have other SendObject code running on other Windows 2003 servers that also
have Outlook 2003 & Access 2003 runtime, but perhaps there is some different
file version.