So, hier mal der Code.
Function MessageSenden(sAdrReply As String, sAdrSender As String, sAdrAlias)
Dim UiWs As New NotesUIWorkspace
Dim UiDoc As NotesUIDocument
Dim nSession As New NotesSession
Dim nDB As NotesDatabase
Dim mailbox As New NotesDatabase("","")
Dim MailDoc As NotesDocument
Dim MemoDoc As NotesDocument
Dim SubjectItem As NotesItem
Dim BodyItem As NotesRichTextItem
Dim Item As NotesItem
Dim sendto As NotesItem
' Dim subject As String
Dim message As NotesItem
Set UiDoc = UiWs.CurrentDocument
Set MemoDoc = UiDoc.Document
Set sendto = MemoDoc.GetFirstItem("EnterSendTo")
Set message = MemoDoc.GetFirstItem("Body")
' subject = "Mario Test Betreff"
Set nDB = nSession.CurrentDatabase
Call mailbox.Open( nDB.server, "mail.box" )
Set MailDoc = mailbox.CreateDocument
MailDoc.Form = "Memo"
Set Item = Maildoc.ReplaceItemValue("SendTo", sendto)
Set Item = Maildoc.ReplaceItemValue("Recipients", sendto)
Set SubjectItem = MemoDoc.GetFirstItem("Subject")
Call SubjectItem.CopyItemToDocument(MailDoc, "Subject")
Set BodyItem = MailDoc.CreateRichTextItem( "Body" )
Call message.CopyItemToDocument(MailDoc, "Body") hier wollte ich dies realisieren
MailDoc.PostedDate = Now()
MailDoc.ComposedDate = Now()
MailDoc.DeliveredDate = Now()
MailDoc.EncryptOnSend = True
Call MailDoc.Save( True,False )
Call UiDoc.Close(False)
End Function
So das mal zum Code.