Meine Güte! Ist VB.net wirklich so stark verschieden zu VB?
Unter VB wäre die Sache ja ein Klacks...
----------------------------------------------
Public appOLI As Object
Public olMail As Outlook.MailItem
Private Sub Form_Load()
'If boolSendMail = True Then
Set appOLI = CreateObject("Outlook.Application")
Set olMail = appOLI.CreateItem(0)
olMail.To = "somebody@somewhe.re"
olMail.Subject = "Test "
olMail.Body = "Das ist ein Test!"
olMail.Send
Set appOLI = Nothing
Set olMail = Nothing
'End If
End Sub
-----------------------------------------------
... aber wie's aussieht muss ich mich bald daran machen eine Menge neues Zeug zu lernen
