Sorry Bernhard,
hab mein Script vergessen:
Sub Click(Source As Button)
Dim mailf As String
Dim server As String
Dim s As New NotesSession
Dim db As NotesDatabase
Dim maildb As NotesDatabase
Dim memo As NotesDocument
Dim RTItem As NotesRichtextItem
Dim object As NotesEmbeddedObject
mailf = s.GetEnvironmentString ("MailFile", True)
server = s.GetEnvironmentString ("MailServer", True)
Set maildb = New Notesdatabase (server, mailf)
Set memo = maildb.CreateDocument
With memo
.Form = "memo"
.Subject = "Änderungscheckliste "
.SendTo = "eugen.pfeifer@volksbank-achern.de"
End With
Set RTItem = New NotesRichTextItem( memo, "Body" )
Call RTItem.AddNewLine( 17 )
Call RTItem.AppendText( "fff" )
Set object= rtitem.EmbedObject ( EMBED_ATTACHMENT, "", "c:\temp\11.txt")
Dim ws As New NotesUIWorkspace
Dim uidoc As NotesUIDocument
Set db=s.CurrentDatabase
Set uidoc = ws.CurrentDocument
Call ws.EditDocument (True, memo)
End Sub