Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

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!!

Posted

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.

"In the immortal words of Socrates, who said "' I drank what?!'"

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...