J
JM
Hello,
I'm attempting to write a VB.NET program that will be run periodically
using Ad Tempus (a scheduler). Ad Tempus will allow you to run the
VB.NET application as a particular user.
In the VB.NET application, I'm logging into Outlook using:
'objNameSpace.Logon("John Doe", "catfish", False, True)', for example.
On my test machine, it's not working well at all unless I'm already
logged into Outlook as John Doe. Also, it keeps giving me a dialog
box that says, "A program is trying to access email addresses you have
stored inOoutlook. Do you want to allow this?" with a checkbox
indicating how many minutes you want to give access.
All of this is unacceptable for an automated setup. None of the
Microsoft examples mention any of the pitfalls involving Exchange
profiles, logins, etc. My whole point in using this Outlook instance
is to automate checking/processing of a particular email box with no
human interaction. It's a given I need a mail profile on the
production server for this mailbox, but, beyond that, I think I should
be able to automate everything as long as I call the VB.NET program
from the scheduler with the correct credentials.
Thanks,
JM
I'm attempting to write a VB.NET program that will be run periodically
using Ad Tempus (a scheduler). Ad Tempus will allow you to run the
VB.NET application as a particular user.
In the VB.NET application, I'm logging into Outlook using:
'objNameSpace.Logon("John Doe", "catfish", False, True)', for example.
On my test machine, it's not working well at all unless I'm already
logged into Outlook as John Doe. Also, it keeps giving me a dialog
box that says, "A program is trying to access email addresses you have
stored inOoutlook. Do you want to allow this?" with a checkbox
indicating how many minutes you want to give access.
All of this is unacceptable for an automated setup. None of the
Microsoft examples mention any of the pitfalls involving Exchange
profiles, logins, etc. My whole point in using this Outlook instance
is to automate checking/processing of a particular email box with no
human interaction. It's a given I need a mail profile on the
production server for this mailbox, but, beyond that, I think I should
be able to automate everything as long as I call the VB.NET program
from the scheduler with the correct credentials.
Thanks,
JM