Are there any issues with using SendObject under different Windows XP Service Packs? On my desktop computer (XP Pro SR-1), the SendObject command works perfectly. On my notebook computer (XP Home, SR-2), it fails with Error 2046. I saw a message in an online forum that alluded to SendObject not working properly with “… new security patches…”, but without any clear statement that it worked or failed under different conditions.
The testing program consists of a form with a single command button:
Private Sub Command0_Click()
DoCmd.SendObject acSendNoObject, , , “jacksonmacd@hotmail.com”, , , “Subject line”, “This is the body”
End Sub
On both computers, Internet Explorer Internet Options shows that the email program is set to Pegasus mail. When I click a “Mailto” link in a web browser on either computer, then Pegasus mail is launched properly. I reinstalled Access 97 SR-2 on the notebook computer, but it made no difference. The “only” thing I can think of is different between the computers is the Windows Service Pack.
This problem also occurs on a client’s computer. She recently re-installed the O/S, but I am not sure what Windows version — I will know by Monday. She does not use Pegasus email, but does use Outlook. She has checked that the email program is properly configured in Internet Explorer Internet Options.