Hi
We have the strange effect that some users could only delete sent mails from the sent view…
Normaly a prompt popup will ask if I would like to delete or just remove the mail document from the sent view…
We have checked the Preferences Setting in the Mail Properities… Set the Setting to always ask… Nothing helps… The Mail is marked for deletion and fully deleted after pressing F9.
If you have more Infos or Tips please tell me…
thank you…
florian
Subject: Delete/Remove Mail from Sent View
HiI send you a part of the code from Database-Script-Event QueryDocumentdelete.
You can see below a Call of promptUser-Function with parameter “DeleteSentPref” which has to be 0 for always ask - Option in Preferences.
In the promptUser-Function a dialogbox (form = “(DeleteSentDlg)”) should be called…
I would try control this by using messageboxes
…
Elseif Strcompare(strViewName, “($Sent)”) = 0 Then
' We are deleting from the Sent view; see if the user wants to delete or remove
' using CalPrefs instead of ini variable
Dim i As Integer
Dim doc As notesdocument
Dim noteid As String
Set note = New NotesDocument(session.currentdatabase)
' prompt if they want prompting...
nAction=0 ' reinit global variable
'msgbox "DeleteSentPref: " & CStr(DeleteSentPref)
Call promptUser( ws, note, profiledoc, DeleteSentPref, strViewName )
…
Hope this will help you