title: Sending email through MS Outlook and disabling the warning
body: <p>I have a C# program that I will be running on a daily basis (through Windows Scheduler). The program is to send a daily report to my team. 
  I have written the following to send the email and it works. the only problem is that Outlook shows a message box " A program is trying to send an e-mail message on your behalf. if this is unexpected...... " . there are three buttons "allow" "deny" "help" and it seems like my program is halted at that point and until i click the allow or deny button , the program doesn't send the email. 
  I know that the i can change the options by going into tools -> trust center -> programmatic access, but i would really like to not use that because this program would be eventually running from another machine where the user may or may not access  to change the setting in trust center. 
  Is there a way to disable this warning programatically? ..or is there another way to send the email without having this warning popup</p>
  
  <p>here is the code used to send the email..and it works fine..</p>
  
  <pre><code>Application olook = new Application();
          NameSpace ns = olook.GetNamespace("MAPI");
          ns.Logon(null, null, true, true);
  
         _MailItem msg = (_MailItem)olook.CreateItem(OlItemType.olMailItem);
  
          msg.To = "xxx@xxx.com";
          msg.Subject = "test";
  
          msg.HTMLBody = strHTML;
  
          msg.Send();
          ns.Logoff();
  </code></pre>