Outlook security with exchange server

  • Thread starter Thread starter John
  • Start date Start date
J

John

Hi

I am getting the notorious "an application is trying to access your
application..." whenever I try to send an email using outlook from within a
vb.net app. Is there a way to bypass this? I am using outlook with exchange
server.

Thanks

Regards
 
Is there a reason you use outlook?

I am using System.Web.Mail to create a mail message and send it using
smtpserver.send(mailMessage).

It works fine for me.
 
No, it does not.

How do you run your outlook? I remember when I started working on my
application, I did the same but did not have any problems.

Do you use Process.Start(OUTLOOK.EXE)?

I think that is what I used and it worked fine. However, I needed to
develop programatical way to create a message and its header and send it
without opening email application.

Sorry, wish I were of more help.
 
Back
Top