Author: henne | Posted on: 8/11/2009 4:15:28 AM | Views : 408

Hey,
have a question concerning Windows identification.
In want my application sending autogenerated emails to the user, when an admin makes changes in his her data. As I do not want an admin to enter a password for the exchange authentication everytime there are data changes I want the application to send the email with the windows indetifiation of the user.
But I do not know how to programm the smtp credentials?!
Public Shared Sub Send(ByVal o As Object, ByVal e As EventArgs) Handles Button1.Click '!!! UPDATE THIS VALUE TO YOUR EMAIL ADDRESS Const ToAddress As String = "user@application.com" '(1) Create the MailMessage instance Dim mm As New MailMessage("admin@test.com", ToAddress) '(2) Assign the MailMessage's properties mm.Subject = "test" mm.Body = "body" mm.IsBodyHtml = False ...

Go to the complete details ...