Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. Outlook 2003 Security Warning

Outlook 2003 Security Warning

Scheduled Pinned Locked Moved C#
csharpdelphisecuritytools
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Offline
    G Offline
    GermanDM
    wrote on last edited by
    #1

    I have written a C# application (not a add in) to access outlook. I work with emails in the Inbox folder and also save the attachments to a directory. But when i use the application I get a Security warning that pops up from outlook stating that -A program is trying to access email address..Do you want to allow (Yes/No) and also it asks the time duration for access. is it possible to remove this or some how work around it? I know of redemption and some other tools you could use but its expensive to purchase. I found some code in Delphi 7 and VB6 which automatically presses the buttons on the warning form with api calls could i use this too if its the only option? Thanks Kind Regards

    S 1 Reply Last reply
    0
    • G GermanDM

      I have written a C# application (not a add in) to access outlook. I work with emails in the Inbox folder and also save the attachments to a directory. But when i use the application I get a Security warning that pops up from outlook stating that -A program is trying to access email address..Do you want to allow (Yes/No) and also it asks the time duration for access. is it possible to remove this or some how work around it? I know of redemption and some other tools you could use but its expensive to purchase. I found some code in Delphi 7 and VB6 which automatically presses the buttons on the warning form with api calls could i use this too if its the only option? Thanks Kind Regards

      S Offline
      S Offline
      Scott Hanslip
      wrote on last edited by
      #2

      I believe you need to do it in conjunction with an Exchange server. It involves creating a security settings template in a public folder. Here's a link to two Microsoft articles on the subject. The first one explains what needs to be done to set up the template, and the second one explains what each setting on the template does. http://office.microsoft.com/en-us/assistance/HA011402931033.aspx http://office.microsoft.com/en-us/assistance/HA011402951033.aspx The setting you configure is on the "Programmatic Settings" tab. It's called "When sending items via Simple MAPI: Automatically approve". There is also a "Trusted Code" tab on the template. On that tab you can specify COM addins which can bypass the security blocks in Outlook. What settings you use depends entirely on the type of application you're trying to send e-mail from. Also, I believe there is a registry value on each workstation which tells Outlook to get its security settings from the public folder form. It was: [HKEY_CURRENT_USER\Software\Policies\Microsoft\Security] "CheckAdminSettings"=dword:00000001 Hope that helps. Scott...

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups