• Error 2046 The command ‘sendobject’ isn’t available now

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Error 2046 The command ‘sendobject’ isn’t available now

    Author
    Topic
    #486530

    I have a machine running Windows 7. On it I have installed Mozilla Thunderbird and Office Professional 2010. When I run my Access database it comes up with the above error when trying to send an e-mail programmatically. I have set the default e-mail program in Windows to be Thunderbird (although when I go back into ‘Set program access and computer defaults’ the ‘Use my current e-mail program’ option is selected). Does anyone have any ideas as to what could be the problem?

    Viewing 1 reply thread
    Author
    Replies
    • #1358975

      I find it’s best to use an independent program to send mail. Something like BLAT. Then you use that command from the database directly.

      cheers, Paul

    • #1359129

      What you are seeing is a common problem based on a quick search. Without seeing the code you are executing, it is difficult to make any specific recommendations, but the general trend seems to be configuration issues in trying to create the mail object in the email application. It seems each email program has it’s own foibles – since Outlook is well documented, and you presumably have it installed, you might try switching to Outlook long enough to get the database to work properly. You might also check to make sure you have the latest version of Thunderbird installed. Depending on the format of what you are trying to send, the command-line email programs (as Paul T suggested) may or may not work for you.

      • #1359171

        Thanks WendellB,

        As I didn’t want to use Outlook I had installed Microsoft Office Professional without it. I uninstalled Office and re-installed it with Outlook. The ‘SendObject’ command then worked with Thunderbird.

    Viewing 1 reply thread
    Reply To: Error 2046 The command ‘sendobject’ isn’t available now

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

    Your information: