Results 1 to 5 of 5
  1. #1
    selvakumar.arc is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2013
    Posts
    49

    Unhappy trying to send Mail from MS Access, getting warning message. How to by-pass it.

    Hi All,

    I am trying to send mail from MS Access and I am able to send mail also. But I am getting warning message like "A program is trying to automatically send e-mail on your behalf", any one knows how to by-pass this warning message?.
    Last 2 days I am trying to solve this issue, dont know how to fix this...


    Dim objOutlook As Outlook.Application
    Dim objOutlookMsg As Outlook.MailItem
    Dim objOutlookRecip As Outlook.Recipient
    Dim objOutlookAttach As Outlook.Attachment

    Set objOutlook = CreateObject("Outlook.Application")
    Set objOutlookMsg = objOutlook.CreateItem(olMailItem)

    objOutlookMsg.Body = "Test from applicaiton"
    objOutlookMsg.To = test@test.com

    objOutlookMsg.Send

    Regards,
    Selvakumar R

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    As far as I know, the only two solutions are:
    ClickYes: http://www.contextmagic.com/express-clickyes/
    and
    Redemption: http://www.dimastr.com/redemption/home.htm

  3. #3
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    CDO is a third option. I don't have a link handy, as I'm out and about.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  4. #4
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2013
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    I believe you can turn off the warning message if you are running the Exchange Server as well.

  5. #5
    selvakumar.arc is offline Advanced Beginner
    Windows 7 64bit Access 2010 32bit
    Join Date
    Apr 2013
    Posts
    49
    Thanks for your support, I will try your suggested solution and I will let you know updates.

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

Similar Threads

  1. Replies: 1
    Last Post: 09-14-2012, 10:27 AM
  2. Access Warning Message
    By marksnwv in forum Access
    Replies: 1
    Last Post: 06-01-2012, 01:46 PM
  3. Replies: 3
    Last Post: 03-08-2012, 04:43 PM
  4. Automatically Send E-Mail from Access
    By lilygtg in forum Access
    Replies: 1
    Last Post: 08-24-2011, 05:48 PM
  5. Access warning message
    By John Southern in forum Access
    Replies: 2
    Last Post: 05-28-2010, 06:01 AM

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