• Sendobject – Error 2046 (A97 SR2)

    Author
    Topic
    #427280

    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.

    Viewing 1 reply thread
    Author
    Replies
    • #989645

      When I use SendObject in Access 2002 SP-3 on Windows XP SP-2, with Outlook as e-mail program, I get the customary security warning that a program is trying to send mail on my behalf. If I click Yes, or if I have installed ClickYes, the e-mail is sent without further problems.
      I have no experience with Pegasus mail, so I don’t know if it has problems with recent Windows updates.

    • #990112

      Thanks Hans. I appreciate the confirmation.

      Additional info from the client — she was misreading the screen, choosing an incorrect option, and reporting some wrong information. It’s working now… As for my Pegasus installation, there is a separate install function required to activate its MAPI functions. Without completing the MAPI installation, Access’ File > Send menu item was disabled. It manifested itself in the Error 2046. Was like searching for a needle in a haystack, but I think I have that one fixed, too.

    Viewing 1 reply thread
    Reply To: Sendobject – Error 2046 (A97 SR2)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: