Results 1 to 1 of 1
  1. #1
    maxbre is offline Advanced Beginner
    Windows XP Access 2003
    Join Date
    Oct 2010
    Posts
    38

    disable email notification by Outolook Express

    hello all



    I've worked out this very simple function in order to send a report by email

    Code:
    Public Function send_email(email_to As String, Optional email_cc As 
    String, Optional bc As String, Optional email_object As String, Optional email_text As String, Optional email_attach As String)
     
    On Error GoTo Err_send_email
     
    DoCmd.SendObject _
    acSendReport, _
    email_attach, _
    acFormatHTML, _
    email_to, _
    email_cc, _
    email_bc, _
    email_object, _
    email_text, _
    False
     
    Exit_send_email:
    Exit Function
    Err_send_email:
    MsgBox Err.Description
    Resume Exit_send_email
    End Function
    everything seems working fine to me except the fact that I get an annoying security notice (I'm using Outlook Express 6): "A program is trying to access e-mail addresses you have stored in Outlook. Do you want to allow this?"

    Is there a way to programmatically (by vba code) work aroud or switch off this useless (and confusing for the end user) kind of warning?
    I've been searching around in the web and in this forum but I could not find a proper solution also because I would not (in fact I can not) rely on third party utilities?

    thanks for any help

    max

    ps I know also about the "partial solution of the problem" by going into the Outlook Express menu tools->options->security... and so on...
    Last edited by maxbre; 12-02-2011 at 05:20 AM. Reason: mispelling

Please reply to this thread with any new information or opinions.

Similar Threads

  1. check box notification
    By nichmeg in forum Programming
    Replies: 6
    Last Post: 10-29-2011, 11:29 AM
  2. Replies: 4
    Last Post: 04-13-2011, 10:11 AM
  3. send email to email addresses in database?
    By cnstarz in forum Access
    Replies: 5
    Last Post: 03-02-2011, 09:46 PM
  4. Email from report to Email body
    By Ehmke66 in forum Programming
    Replies: 4
    Last Post: 01-03-2011, 01:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums