Hello,
I am trying to write a simple program in
VB.NET that connects an
outlook exchange server and reads through the emails of a specific
user account. However as I need this code to run in the background it
cannot prompt the user for any login credentials.
I have written the following which seems to work well with the
exception of prompting the user for their username and password..
which I cannot seem to get rid of... please help!!! :)
BTW - this code utlizes outlook redemption so to avoid security
messages being displayed.
You can assume that the login credentials are known (say L:
harry@
test.com P:password123)
Imports Redemption
Imports MSMAPI
Public Class Form1
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles Button1.Click
CheckExchangeEmail()
End Sub