Unwanted warning from outlook when using DoCmd.SendObject

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Mac Campbell
    New Member
    • Apr 2007
    • 8

    Unwanted warning from outlook when using DoCmd.SendObject

    When automating e-mail messages from Access 2003 using DoCmd.SendObjec t, I get an Outlook warning message "A program is trying to automatically send e-mail on your behalf. Do you want to allow this?". Outlook then waits for a response. Since I want the message to be sent out from an unattended applicaton when certain conditions are met, is there a way to supress or bypass this message?
  • MMcCarthy
    Recognized Expert MVP
    • Aug 2006
    • 14387

    #2
    Originally posted by Mac Campbell
    When automating e-mail messages from Access 2003 using DoCmd.SendObjec t, I get an Outlook warning message "A program is trying to automatically send e-mail on your behalf. Do you want to allow this?". Outlook then waits for a response. Since I want the message to be sent out from an unattended applicaton when certain conditions are met, is there a way to supress or bypass this message?
    This is a security feature of outlook and can be turned off in the outlook settings.

    Comment

    • JConsulting
      Recognized Expert Contributor
      • Apr 2007
      • 603

      #3
      There are 3rd party software packages that also deal with this message. ClickYes is one, the other is Redemtion. Both are very commonly used. One other option is to use CDO to send your objects. It bypasses outlook security by using SNMP.

      Comment

      Working...