Results 1 to 3 of 3
  1. #1
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Vancouver, Br. Columbia, Canada
    Posts
    632
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Sendobject - Error 2046 (A97 SR2)

    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.
    --------------------------------------------------
    Jack MacDonald
    Vancouver, Canada

  2. #2
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Sendobject - Error 2046 (A97 SR2)

    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.

  3. #3
    5 Star Lounger
    Join Date
    Jan 2001
    Location
    Vancouver, Br. Columbia, Canada
    Posts
    632
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Sendobject - Error 2046 (A97 SR2)

    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.
    --------------------------------------------------
    Jack MacDonald
    Vancouver, Canada

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •