Results 1 to 4 of 4
  1. #1
    New Lounger
    Join Date
    Nov 2012
    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Error 2046 The command 'sendobject' isn't available now

    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?

  2. #2
    WS Lounge VIP
    Join Date
    Dec 2009
    Location
    Earth
    Posts
    8,199
    Thanks
    48
    Thanked 987 Times in 917 Posts
    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

  3. The Following User Says Thank You to Paul T For This Useful Post:

    RobWh (2012-11-25)

  4. #3
    Super Moderator
    Join Date
    Aug 2001
    Location
    Evergreen, CO, USA
    Posts
    6,624
    Thanks
    3
    Thanked 60 Times in 60 Posts
    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.
    Wendell

  5. The Following User Says Thank You to WendellB For This Useful Post:

    RobWh (2012-11-26)

  6. #4
    New Lounger
    Join Date
    Nov 2012
    Posts
    2
    Thanks
    2
    Thanked 0 Times in 0 Posts
    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.

Tags for this Thread

Posting Permissions

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