Grazie a tutti x i consigli... Alla fine ho cambiato strategia! Avevo bisogno di un accesso ai db di posta per sbloccare il pop3 (vedi questa discussione http://forum.dominopoint.it/Dominopoint/new_forum.nsf/WebBoardSub?OpenView&RestrictToCategory=5AC8983D51E89E26C12574E9003C7483&Count=30&ExpandSection=2) Alla fine ho creato un agent con lotusscript schedulato ogni x minuti, ecco il sorgente: Sub Initialize On Error Goto logerrori Dim currentLog As New NotesLog( "agente chkmail in utenti.nsf" ) Call currentLog.OpenNotesLog( "WebMail/RICCIONE", "logpgm.nsf" ) Dim db As NotesDatabase Dim collection As NotesDocumentCollection Dim n As Integer Dim arrdb(2) As String arrdb(1) = "mail\utente1.nsf" arrdb(2) = "mail\utente2.nsf" For i = 1 To 2 Set db = New NotesDatabase( "server/DOMINIO", arrdb(i) ) Set collection = db.AllDocuments n = collection.Count Call currentLog.LogAction(Cstr(i) + " - utente: "+arrdb(i) + " mails:" + Cstr(n)) \' Msgbox(n; i) Next Call currentLog.LogAction("fine") Call currentLog.Close logErrori: Call currentLog.LogError ( Err, "Num.Err.=" & Str(Err) & ": " & Error$ &" Linea=" & Erl) Resume Next fine: End Sub E in questo modo i POP3 funzionano
|