niros Posted June 20, 2004 Posted June 20, 2004 Hi, I've created a program that supposes to send me automatically and email every hour. the main idea of the program is the automatic part. the only problem is that to send the mail I am creating an outlook application, and when I use the send method, the outlook is popping up a security message that some one is trying to use outlook, and asking for my approve (kind of kill the automation idea) I wanted to know if there is a way by using code to defeat this problem and if not by playing with outlook security? Thanks!! Quote
betrl8thanever Posted June 20, 2004 Posted June 20, 2004 Unfortunately, that is a security feature of Outlook that was created to help stop malicious virus spreading. If possible, I would speak with your sysadm to see if you can interact directly with your Exchange Server. Another option would be to use the System.Web.Mail class and connect to an SMTP server. Most corporate SMTP servers require authentication, which can get tricky with System.Web.Mail. Quote "In the immortal words of Socrates, who said "' I drank what?!'"
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.