Re: deleted mail problem
"Thomas Schweikle" <[email protected]>
| Newsgroups | gmane.linux.suse.domino |
|---|---|
| Message-ID | <OF312ADEB2.F1EAC30A-ONC1256DBE.0033F19C-C1256DBE.00368DB4@fag.fiducia.de> |
> if you didn't set the flag in database properties,
> (in R5) there isn't a way to restore any email's
> you've deleted.
That is not completely true. Domino reuses space marked as empty inside
the database. But only if it "fits" the size of the new record to store.
Setting the flag "Allow soft deletions" only makes your job more easy: You
can reset the flag before compacting the database to reveal any deleted
record.
In the other case, you need help by tools, since domino itself does not
provide access to deleted records.
Dim db as notesdatabase
Dim col as notesdocumentcollection
col = db.AllDocuments
Is useful only with "Soft deletions" enabled. If they are not, the
collection wont hold deleted documents you could query with
Dim doc as NotesDocument
doc = col.GetFirstDocument
while not (doc is nothing)
if (doc is deleted) then
print "Deleted document found"
end if
doc = col.GetNextDocument(doc)
wend
With special tools provided on notes.net you can, in both cases, reveal
deleted documents. Provided they where not overwritten! With "Allow soft
deletions" set, Notes guaranties not to overwrite deleted entries, until
the database is compacted.
--
Thomas