Hey there - I was doing some load testing on the mail journaling feature in Dom 6.5, and ran across something I can’t explain…
I created this agent:
Sub Initialize
Dim s As New notessession
Dim db As notesdatabase
Dim doc As NotesDocument
Dim i As Integer
Set db=s.CurrentDatabase
For i = 1 To 10000
Set doc=New notesdocument(db)
With doc
.form = Memo
.Subject = "Email #" & i
.SendTo = "some email recipient"
End With
Call doc.Send(False,False)
Next
End Sub
This is a little simplified, as I was attaching files, etc…
But the weird point is this - I was sending email to the email address - expecting to get 10k emails… except there’s some weirdness…
In the unread part of the view in the mail file, it tells me that I have 10000 unread emails in the Inbox… but when I do a CTRL-A (select all) the status bar says I have 9,999 documents selected…
Can anyone else reproduce this?
/DA