hier grob
set db = bla
set view = db.getview("name")
set doc = view.getfirstdocument
while not doc is nothing
if (instr(doc.from(0),"@")>0) then
set mail = new notesdocument(db)
mail.subject = doc.from(0)
mail.sendto = "adminnaddel"
mail.send(true,false)
end if
set doc = view.getnextdocument(doc)
wend
in etwa
gruss