A program is trying to automatically send email on your behalf

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • mattc
    New Member
    • Oct 2006
    • 1

    A program is trying to automatically send email on your behalf

    Hi,
    Writing a Macro in Excel and wanting to send emails automatically without this pop up box "A program is trying to automatically send email on your behalf".
    Is there some script I can use to avoid this pop up ?

    I'm just a beginner.... please help.

    Thanks !
  • scripto
    New Member
    • Oct 2006
    • 143

    #2
    look up this command and add to your Outlook code.

    .DisableOOMWarn ings = True

    Comment

    • contactvishwa
      New Member
      • May 2007
      • 2

      #3
      Originally posted by scripto
      look up this command and add to your Outlook code.

      .DisableOOMWarn ings = True
      this code is not working for me pls help on the same issue

      Comment

      • Killer42
        Recognized Expert Expert
        • Oct 2006
        • 8429

        #4
        I think to get around that, the user would have to turn off (or at least reduce) the macro security options in Excel. After all, what would be the point of having them at all, if the macro can just turn them off?

        Comment

        • QMSAND
          New Member
          • Jul 2007
          • 1

          #5
          Originally posted by mattc
          Hi,
          Writing a Macro in Excel and wanting to send emails automatically without this pop up box "A program is trying to automatically send email on your behalf".
          Is there some script I can use to avoid this pop up ?

          I'm just a beginner.... please help.

          Thanks !
          Mattc

          did you ever find out how to do this? I'm in the same boat you were

          Comment

          • danp129
            Recognized Expert Contributor
            • Jul 2006
            • 323

            #6
            Well it should be a setting in outlook / outlook express, whichever is your default MAPI client so look there. I've seen a program that automatically closes the messagebox for you, just google around for that prompt and you'll eventually find something. Personally, I'd just use CDOSYS.

            Comment

            • Killer42
              Recognized Expert Expert
              • Oct 2006
              • 8429

              #7
              Yes, I just pasted "A program is trying to automatically send email on your behalf" into Google, and found a lot of references, including ones with source code. I didn't go through them in detail, but there must be something there you can use.

              Comment

              Working...