Inhalt der Mail Hier wohl auch Body genannt,Nicht unbedingt. SMTP/MIME Mails können anders aussehen. Eine Notes-Mail kann auch mehrere Body-Items haben, usw. Das ist nicht ganz trivial.
Gibt es hier nicht schon sowas, das meinetwegen der Mailinhalt in eine TXT geschrieben wird?Nein.
Der Dateiname soll die NoteID der Mail sein, was wohl Dopplungen vermeidet.
Nein die NoteID ist nur jeweils zu einem definierten Zeitpunkt in einer Datenbank unique. Nach einem Compact können die NoteIDs ganz anders aussehen.
A note ID represents the location of a document within a specific database file, so documents which are replicas of one another generally have different note IDs. A note ID does not change, unless the document is deleted.Ich denke, dass die Note-ID hier nicht unbedingt die "richtige" Wahl ist. Ich würde zur DocumentID greifen (mehrere Datenbanken, ...).
Aus der Designer-Hilfe:ZitatA note ID represents the location of a document within a specific database file, so documents which are replicas of one another generally have different note IDs. A note ID does not change, unless the document is deleted.Ich denke, dass die Note-ID hier nicht unbedingt die "richtige" Wahl ist. Ich würde zur DocumentID greifen (mehrere Datenbanken, ...).
Komprimierung mit Hilfe einer Kopiedenke ich schon, dass da andere NoteIDs entstehen können (nicht müssen).
Bei der Komprimierung mit Hilfe einer Kopie wird eine Kopie der Datenbanken erstellt und die ursprünglichen Datenbanken werden nach der Komprimierung gelöscht, d. h. für die Datenbankkopien wird zusätzlicher Plattenplatz benötigt.
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
REM Open xml file named after current database
Dim stream As NotesStream
Set stream = session.CreateStream
filename$ = "c:\dxl\" & Left(db.FileName, Len(db.FileName) - 3) & _
"xml"
If Not stream.Open(filename$) Then
Messagebox "Cannot open " & filename$,, "Error"
Exit Sub
End If
Call stream.Truncate
REM Export doc as DXL
Dim exporter As NotesDXLExporter
Set exporter = session.CreateDXLExporter(docMemo, stream)
Call exporter.ProcessReturn value
The value or values contained in the specified name. The data type of the value depends on the data type of the item.
Rich text Array of strings. The text in the item, rendered into plain text