• Send E-mail (Access97, Win2K, OutlookXP)

    Home » Forums » AskWoody support » Productivity software by function » MS Access and database help » Send E-mail (Access97, Win2K, OutlookXP)

    Author
    Topic
    #377873

    I have a database that sends e-mails that works fine under Win95/Access97/Outlook98.

    We’ve upgraded at work and are now on Access97/Win2K/ OutlookXP.

    When I “DoCmd.SendObject” Outlook prompts me saying that “A program is trying to automatically send mail on my behalf…” and waits for the user to click Yes.

    How do I avoid that annoying messagebox?

    Thanks!!

    Viewing 3 reply threads
    Author
    Replies
    • #623700

      Hi Morgan,
      You are being affected by the Outlook Security Patch/Feature – check out the thread associated with post 176774 in Outlook. You may also want to do a search on Security Settings in the Outlook forum – it seems to me I saw a way to disable that prompt in Outlook 2002, but I haven’t been able to find it quickly. (Sorry about no longer being in CO, but you don’t have quite the drought we do.)

      • #624022

        I appreciate the pointer to Redemption. It worked like a champ right out of the (electronic) box.

        Thank you!

        I miss CO greatly, especially duing the HUMID summer in MO, but I definately am glad I missed the fires & drought.

    • #623725

      Morgan,

      You might check here for some code that appears to do what you want.

      As an alternative, you can check this page for more on the same issue. This post references the site mentioned above.

      Good Luck!

      Tom

    • #623756

      You can’t turn it off, and with the viruses floating around these days, you don’t really want to. The way around it is to not use SendObject, which uses MAPI calls and generates the warning message. You get around it by not using MAPI. The Redemption library referenced in the other responses works quite well, but it has to be licensed and you have to write code to call its methods. We use it at work because our software products are designed to automatically send out emails based on the way the customer sets the program up, and the security patches make that impossible otherwise.

    • #623808

      In addition to the other responses, I have used the free ASPEmail component for sending mail from Access. It’s available at:
      http://www.aspemail.com/

    Viewing 3 reply threads
    Reply To: Send E-mail (Access97, Win2K, OutlookXP)

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

    Your information: