DoCmd,SendObject and OE E-mail prompt

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Lauren Quantrell

    DoCmd,SendObject and OE E-mail prompt

    I get the prompt from Outlook Express when trying to send an e-mail
    using DoCmd.SendObjec t in MS Access2000:

    "A program is attempting to send the following e-mail message on your
    behalf:"
    To: <blank>
    Subject: The subject
    Would you like to send the message?
    SEND DO NOT SEND

    I know I can turn this off on my machine by going to:
    Tools/Option/Security in Outlook Express and unchecking: "Warn me when
    other applications try to send mail"

    But can I turn this off using an API call through VBA to disable this
    before sending my docmd.sendobjec t command and then resetting it
    afterwords?

    Any help is appreciated.
    lq
  • Rick Brandt

    #2
    Re: DoCmd,SendObjec t and OE E-mail prompt

    "Lauren Quantrell" <laurenquantrel l@hotmail.com> wrote in message
    news:47e5bd72.0 311230629.1a33c f77@posting.goo gle.com...[color=blue]
    > I get the prompt from Outlook Express when trying to send an e-mail
    > using DoCmd.SendObjec t in MS Access2000:
    >
    > "A program is attempting to send the following e-mail message on your
    > behalf:"
    > To: <blank>
    > Subject: The subject
    > Would you like to send the message?
    > SEND DO NOT SEND
    >
    > I know I can turn this off on my machine by going to:
    > Tools/Option/Security in Outlook Express and unchecking: "Warn me when
    > other applications try to send mail"
    >
    > But can I turn this off using an API call through VBA to disable this
    > before sending my docmd.sendobjec t command and then resetting it
    > afterwords?[/color]

    If *your* program can turn it off, then a malicious virus program would be able
    to turn it off. That would make it a pretty useless feature don't you think?


    --
    I don't check the Email account attached
    to this message. Send instead to...
    RBrandt at Hunter dot com


    Comment

    • DCM Fan

      #3
      Re: DoCmd,SendObjec t and OE E-mail prompt



      We use it in production environments.

      Comment

      • Tim Mills-Groninger

        #4
        Re: DoCmd,SendObjec t and OE E-mail prompt



        tim

        "Lauren Quantrell" <laurenquantrel l@hotmail.com> wrote in message
        news:47e5bd72.0 311230629.1a33c f77@posting.goo gle.com...[color=blue]
        > I get the prompt from Outlook Express when trying to send an e-mail
        > using DoCmd.SendObjec t in MS Access2000:
        >
        > "A program is attempting to send the following e-mail message on your
        > behalf:"
        > To: <blank>
        > Subject: The subject
        > Would you like to send the message?
        > SEND DO NOT SEND
        >
        > I know I can turn this off on my machine by going to:
        > Tools/Option/Security in Outlook Express and unchecking: "Warn me when
        > other applications try to send mail"
        >
        > But can I turn this off using an API call through VBA to disable this
        > before sending my docmd.sendobjec t command and then resetting it
        > afterwords?
        >
        > Any help is appreciated.
        > lq[/color]


        Comment

        Working...